changeset 25660 | 328739ea70c3 |
parent 25186 | 80c5b2666a96 |
child 25695 | ce3d4b858420 |
--- a/hgext/transplant.py Tue Jun 23 22:38:21 2015 -0700 +++ b/hgext/transplant.py Tue Jun 23 22:20:08 2015 -0700 @@ -272,7 +272,7 @@ files = set() patch.patch(self.ui, repo, patchfile, files=files, eolmode=None) files = list(files) - except Exception, inst: + except Exception as inst: seriespath = os.path.join(self.path, 'series') if os.path.exists(seriespath): os.unlink(seriespath)