author | Gregory Szorc <gregory.szorc@gmail.com> |
Sat, 12 Mar 2016 16:08:19 -0800 | |
changeset 29423 | d2c6f3a948fa |
parent 29422 | 40d53d4b5925 |
child 29424 | f21e0d91d386 |
--- 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