Mercurial > hg
diff hgext/journal.py @ 41365:876494fd967d
cleanup: delete lots of unused local variables
These were found by IntelliJ. There are many more, but these seemed
pretty safe.
Differential Revision: https://phab.mercurial-scm.org/D5629
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 17 Jan 2019 09:17:12 -0800 |
parents | c303d65d2e34 |
children | 7f63ec6969f3 |
line wrap: on
line diff
--- a/hgext/journal.py Mon Sep 24 14:46:37 2018 -0700 +++ b/hgext/journal.py Thu Jan 17 09:17:12 2019 -0800 @@ -348,7 +348,6 @@ def _write(self, vfs, entry): with self.jlock(vfs): - version = None # open file in amend mode to ensure it is created if missing with vfs('namejournal', mode='a+b') as f: f.seek(0, os.SEEK_SET)