linter: silence rightful complains about unused variable stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 21 Dec 2018 19:48:01 +0100
branchstable
changeset 4304 604732387e33
parent 4297 699e25687cc5
child 4305 afb60b6576e5
child 4311 8aa28e68ac44
linter: silence rightful complains about unused variable
hgext3rd/evolve/compat.py
hgext3rd/evolve/legacy.py
--- a/hgext3rd/evolve/compat.py	Thu Dec 13 17:41:06 2018 +0100
+++ b/hgext3rd/evolve/compat.py	Fri Dec 21 19:48:01 2018 +0100
@@ -171,7 +171,7 @@
     import mercurial.utils.dateutil
     makedate = mercurial.utils.dateutil.makedate
     parsedate = mercurial.utils.dateutil.parsedate
-except ImportError as e:
+except ImportError:
     import mercurial.util
     makedate = mercurial.util.makedate
     parsedate = mercurial.util.parsedate
--- a/hgext3rd/evolve/legacy.py	Thu Dec 13 17:41:06 2018 +0100
+++ b/hgext3rd/evolve/legacy.py	Fri Dec 21 19:48:01 2018 +0100
@@ -32,7 +32,7 @@
 
 try:
     from mercurial.utils.dateutil import makedate
-except ImportError as e:
+except ImportError:
     # compat with hg < 4.6
     from mercurial.util import makedate