diff mercurial/dispatch.py @ 44306:a0ec05d93c8e

cleanup: re-run black on the codebase Looks like a few patches have landed without having been blackened. I strongly suspect I should write a patch for baymax that blackens things on the way in... # skip-blame automatic formatting Differential Revision: https://phab.mercurial-scm.org/D8104
author Augie Fackler <augie@google.com>
date Mon, 10 Feb 2020 17:31:05 -0500
parents ef11dfc56674
children 9d2b2df2c2ba
line wrap: on
line diff
--- a/mercurial/dispatch.py	Thu Jan 16 13:34:04 2020 +0100
+++ b/mercurial/dispatch.py	Mon Feb 10 17:31:05 2020 -0500
@@ -624,7 +624,7 @@
         except error.AmbiguousCommand:
             self.badalias = _(
                 b"alias '%s' resolves to ambiguous command '%s'"
-            ) % (self.name, cmd)
+            ) % (self.name, cmd,)
 
     def _populatehelp(self, ui, name, cmd, fn, defaulthelp=None):
         # confine strings to be passed to i18n.gettext()