changeset 52956:79583f5dffbb

hg-docker: fix the error raising We are using the wrong name.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 18 Feb 2025 00:57:17 +0100
parents 0db1273b528a
children 6a8a1792aab7
files contrib/packaging/hg-docker
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/hg-docker	Tue Feb 11 15:31:07 2025 +0100
+++ b/contrib/packaging/hg-docker	Tue Feb 18 00:57:17 2025 +0100
@@ -82,7 +82,7 @@
     p = subprocess.Popen(args, stdin=subprocess.PIPE)
     p.communicate(input=dockerfile)
     if p.returncode:
-        raise subprocess.CalledProcessException(
+        raise subprocess.CalledProcessError(
             p.returncode,
             'failed to build docker image: %s %s' % (p.stdout, p.stderr),
         )