mercurial/hook.py
changeset 43117 8ff1ecfadcd1
parent 43106 d783f945a701
child 43503 313e3a279828
--- a/mercurial/hook.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/hook.py	Tue Oct 08 15:06:18 2019 -0700
@@ -117,7 +117,7 @@
             ui.warn(_(b'error: %s hook failed: %s\n') % (hname, exc.args[0]))
         else:
             ui.warn(
-                _(b'error: %s hook raised an exception: ' b'%s\n')
+                _(b'error: %s hook raised an exception: %s\n')
                 % (hname, stringutil.forcebytestr(exc))
             )
         if throw: