diff mercurial/pycompat.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 d783f945a701
children 579672b347d2 8d5489b048b7
line wrap: on
line diff
--- a/mercurial/pycompat.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/pycompat.py	Tue Oct 08 15:06:18 2019 -0700
@@ -361,7 +361,7 @@
     setattr = setattr
 
     # this can't be parsed on Python 3
-    exec(b'def raisewithtb(exc, tb):\n' b'    raise exc, None, tb\n')
+    exec(b'def raisewithtb(exc, tb):\n    raise exc, None, tb\n')
 
     def fsencode(filename):
         """