extension gpg.py: really raise the exception in case of invalid data
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 02 Feb 2006 19:22:27 +0100
changeset 1685 60c3a55c61b8
parent 1684 cf930b2452d3
child 1687 5e73dfe26ac1
extension gpg.py: really raise the exception in case of invalid data
hgext/gpg.py
--- a/hgext/gpg.py	Thu Feb 02 08:16:17 2006 +0100
+++ b/hgext/gpg.py	Thu Feb 02 19:22:27 2006 +0100
@@ -250,7 +250,7 @@
     if ver == "0":
         return "%s\n" % hgnode.hex(node)
     else:
-        util.Abort(_("unknown signature version"))
+        raise util.Abort(_("unknown signature version"))
 
 cmdtable = {
     "sign":