changeset 1685:60c3a55c61b8

extension gpg.py: really raise the exception in case of invalid data
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 02 Feb 2006 19:22:27 +0100
parents cf930b2452d3
children 5e73dfe26ac1
files hgext/gpg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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":