--- a/mercurial/transaction.py Mon Sep 24 14:46:37 2018 -0700
+++ b/mercurial/transaction.py Thu Jan 17 09:17:12 2019 -0800
@@ -89,7 +89,7 @@
except (IOError, OSError) as inst:
if inst.errno != errno.ENOENT:
raise
- except (IOError, OSError, error.Abort) as inst:
+ except (IOError, OSError, error.Abort):
if not c:
raise
@@ -101,7 +101,7 @@
for f in backupfiles:
if opener.exists(f):
opener.unlink(f)
- except (IOError, OSError, error.Abort) as inst:
+ except (IOError, OSError, error.Abort):
# only pure backup file remains, it is sage to ignore any error
pass