diff hgext/remotefilelog/shallowutil.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 649d3ac37a12
children 313e3a279828
line wrap: on
line diff
--- a/hgext/remotefilelog/shallowutil.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/hgext/remotefilelog/shallowutil.py	Tue Oct 08 15:06:18 2019 -0700
@@ -55,7 +55,7 @@
             return None
         else:
             raise error.Abort(
-                _(b"could not find config option " b"remotefilelog.cachepath")
+                _(b"could not find config option remotefilelog.cachepath")
             )
     return util.expandpath(cachepath)
 
@@ -427,7 +427,7 @@
     s = stream.read(n)
     if len(s) < n:
         raise error.Abort(
-            _(b"stream ended unexpectedly" b" (got %d bytes, expected %d)")
+            _(b"stream ended unexpectedly (got %d bytes, expected %d)")
             % (len(s), n)
         )
     return s