diff hgext/acl.py @ 43117:8ff1ecfadcd1

cleanup: join string literals that are already on one line Thanks to Kyle for noticing this and for providing the regular expression to run on the codebase. This patch has been reviewed by the test suite and they approved of it. # skip-blame: fallout from mass reformatting Differential Revision: https://phab.mercurial-scm.org/D7028
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 08 Oct 2019 15:06:18 -0700
parents 687b865b95ad
children 9f70512ae2cf
line wrap: on
line diff
--- a/hgext/acl.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/hgext/acl.py	Tue Oct 08 15:06:18 2019 -0700
@@ -439,7 +439,7 @@
         branch = ctx.branch()
         if denybranches and denybranches(branch):
             raise error.Abort(
-                _(b'acl: user "%s" denied on branch "%s"' b' (changeset "%s")')
+                _(b'acl: user "%s" denied on branch "%s" (changeset "%s")')
                 % (user, branch, ctx)
             )
         if allowbranches and not allowbranches(branch):
@@ -457,7 +457,7 @@
         for f in ctx.files():
             if deny and deny(f):
                 raise error.Abort(
-                    _(b'acl: user "%s" denied on "%s"' b' (changeset "%s")')
+                    _(b'acl: user "%s" denied on "%s" (changeset "%s")')
                     % (user, f, ctx)
                 )
             if allow and not allow(f):