--- 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