# HG changeset patch # User Gregory Szorc # Date 1457827699 28800 # Node ID d2c6f3a948fac365acfaa30ea5208ca1d3536426 # Parent 40d53d4b5925e7c173ea66dd1fd4ea9f853ef707 branchmap: remove unused exception variable diff -r 40d53d4b5925 -r d2c6f3a948fa mercurial/branchmap.py --- 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