changeset 29423:d2c6f3a948fa

branchmap: remove unused exception variable
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 Mar 2016 16:08:19 -0800
parents 40d53d4b5925
children f21e0d91d386
files mercurial/branchmap.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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