Mercurial > public > mercurial-scm > hg-stable
diff mercurial/branchmap.py @ 29423:d2c6f3a948fa
branchmap: remove unused exception variable
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 12 Mar 2016 16:08:19 -0800 |
parents | bcd106d456c4 |
children | db0095c83344 |
line wrap: on
line diff
--- a/mercurial/branchmap.py Mon Jun 27 12:11:18 2016 +0200 +++ b/mercurial/branchmap.py Sat Mar 12 16:08:19 2016 -0800 @@ -363,7 +363,7 @@ bndata = repo.vfs.read(_rbcnames) self._rbcsnameslen = len(bndata) # for verification before writing self._names = [encoding.tolocal(bn) for bn in bndata.split('\0')] - except (IOError, OSError) as inst: + except (IOError, OSError): if readonly: # don't try to use cache - fall back to the slow path self.branchinfo = self._branchinfo