mercurial/localrepo.py
changeset 41365 876494fd967d
parent 41364 0132221c25cd
child 41372 390ef056081b
--- a/mercurial/localrepo.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/mercurial/localrepo.py	Thu Jan 17 09:17:12 2019 -0800
@@ -2539,7 +2539,7 @@
                             m[f] = self._filecommit(fctx, m1, m2, linkrev,
                                                     trp, changed)
                             m.setflag(f, fctx.flags())
-                    except OSError as inst:
+                    except OSError:
                         self.ui.warn(_("trouble committing %s!\n") % f)
                         raise
                     except IOError as inst: