style: remove unused variables
authorMartijn Pieters <mj@octobus.net>
Wed, 21 Nov 2018 10:47:07 +0000
changeset 4266 a4a35fb44af3
parent 4264 9882fed37ea9
child 4267 18ed2a237ab5
style: remove unused variables Both `as e` references are not used and can go.
hgext3rd/evolve/compat.py
hgext3rd/evolve/legacy.py
--- a/hgext3rd/evolve/compat.py	Mon Nov 19 02:34:39 2018 +0000
+++ b/hgext3rd/evolve/compat.py	Wed Nov 21 10:47:07 2018 +0000
@@ -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	Mon Nov 19 02:34:39 2018 +0000
+++ b/hgext3rd/evolve/legacy.py	Wed Nov 21 10:47:07 2018 +0000
@@ -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