# HG changeset patch # User Pierre-Yves David # Date 1545418081 -3600 # Node ID 604732387e33781694ab78abf7b65760f36b196d # Parent 699e25687cc559d35bf47e30c559ec0237a5bdcf linter: silence rightful complains about unused variable diff -r 699e25687cc5 -r 604732387e33 hgext3rd/evolve/compat.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 diff -r 699e25687cc5 -r 604732387e33 hgext3rd/evolve/legacy.py --- 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