changeset 25660 | 328739ea70c3 |
parent 25203 | d4ccc455c953 |
child 26503 | 5a84a453b503 |
--- a/hgext/notify.py Tue Jun 23 22:38:21 2015 -0700 +++ b/hgext/notify.py Tue Jun 23 22:20:08 2015 -0700 @@ -276,7 +276,7 @@ p = email.Parser.Parser() try: msg = p.parsestr(data) - except email.Errors.MessageParseError, inst: + except email.Errors.MessageParseError as inst: raise util.Abort(inst) # store sender and subject