mercurial/state.py
changeset 43117 8ff1ecfadcd1
parent 43077 687b865b95ad
child 43702 127d46468a45
--- a/mercurial/state.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/state.py	Tue Oct 08 15:06:18 2019 -0700
@@ -60,7 +60,7 @@
         """
         if not isinstance(version, int):
             raise error.ProgrammingError(
-                b"version of state file should be" b" an integer"
+                b"version of state file should be an integer"
             )
 
         with self._repo.vfs(self.fname, b'wb', atomictemp=True) as fp:
@@ -76,7 +76,7 @@
                 int(fp.readline())
             except ValueError:
                 raise error.CorruptedState(
-                    b"unknown version of state file" b" found"
+                    b"unknown version of state file found"
                 )
 
             return cborutil.decodeall(fp.read())[0]