diff contrib/packaging/hg-docker @ 41759:aaad36b88298

cleanup: use () to wrap long lines instead of \ This is a little less brittle, and often helps indentation. In a surprising number of cases the entire cleanup was deleting the \, as the expression was *already* parenthesized in a workable way. Differential Revision: https://phab.mercurial-scm.org/D5993
author Augie Fackler <augie@google.com>
date Wed, 20 Feb 2019 19:28:51 -0500
parents 4c0d4bbdc395
children 99e231afc29c
line wrap: on
line diff
--- a/contrib/packaging/hg-docker	Sun Jan 13 20:13:22 2019 -0500
+++ b/contrib/packaging/hg-docker	Wed Feb 20 19:28:51 2019 -0500
@@ -76,7 +76,7 @@
     p.communicate(input=dockerfile)
     if p.returncode:
         raise subprocess.CalledProcessException(
-                p.returncode, 'failed to build docker image: %s %s' \
+                p.returncode, 'failed to build docker image: %s %s'
                 % (p.stdout, p.stderr))
 
 def command_build(args):