changeset 25660 | 328739ea70c3 |
parent 25186 | 80c5b2666a96 |
child 25791 | 917be0574d7f |
--- a/hgext/gpg.py Tue Jun 23 22:38:21 2015 -0700 +++ b/hgext/gpg.py Tue Jun 23 22:20:08 2015 -0700 @@ -283,7 +283,7 @@ editor = cmdutil.getcommiteditor(editform='gpg.sign', **opts) repo.commit(message, opts['user'], opts['date'], match=msigs, editor=editor) - except ValueError, inst: + except ValueError as inst: raise util.Abort(str(inst)) def shortkey(ui, key):