mercurial/state.py
changeset 38127 b7e5c53a779e
parent 38126 bdc4079ceb16
child 38133 dce718404ce6
--- a/mercurial/state.py	Tue May 22 00:22:23 2018 +0530
+++ b/mercurial/state.py	Tue May 22 00:25:18 2018 +0530
@@ -70,7 +70,7 @@
         data in the same format as it was before storing"""
         with self._repo.vfs(self.fname, 'rb') as fp:
             try:
-                version = int(fp.readline())
+                int(fp.readline())
             except ValueError:
                 raise error.ProgrammingError("unknown version of state file"
                                              " found")