diff mercurial/utils/cborutil.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 9f70512ae2cf
line wrap: on
line diff
--- a/mercurial/utils/cborutil.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/utils/cborutil.py	Tue Oct 08 15:06:18 2019 -0700
@@ -404,7 +404,7 @@
 
             if special != SPECIAL_START_ARRAY:
                 raise CBORDecodeError(
-                    b'expected array after finite set ' b'semantic tag'
+                    b'expected array after finite set semantic tag'
                 )
 
             return True, size, readcount + readcount2 + 1, SPECIAL_START_SET
@@ -746,7 +746,7 @@
                     SPECIAL_START_SET,
                 ):
                     raise CBORDecodeError(
-                        b'collections not supported as map ' b'keys'
+                        b'collections not supported as map keys'
                     )
 
                 # We do not allow special values to be used as map keys.
@@ -841,7 +841,7 @@
                     SPECIAL_START_SET,
                 ):
                     raise CBORDecodeError(
-                        b'collections not allowed as set ' b'values'
+                        b'collections not allowed as set values'
                     )
 
                 # We don't allow non-trivial types to exist as set values.