diff hgext/gpg.py @ 12965:0d4fb319974b stable

gpg, commands: fixed util.abort to util.Abort typos gpg: Fixed util.abort typo after entering wrong password. commands: Fixed util.abort typo in debugindex.
author Richard Hopkins
date Tue, 09 Nov 2010 20:25:56 +0000
parents a4fbbe0fbc38
children 14f3795a5ed7
line wrap: on
line diff
--- a/hgext/gpg.py	Sun Nov 07 20:18:57 2010 +0100
+++ b/hgext/gpg.py	Tue Nov 09 20:25:56 2010 +0000
@@ -227,7 +227,7 @@
         data = node2txt(repo, n, sigver)
         sig = mygpg.sign(data)
         if not sig:
-            raise util.abort(_("error while signing"))
+            raise util.Abort(_("error while signing"))
         sig = binascii.b2a_base64(sig)
         sig = sig.replace("\n", "")
         sigmessage += "%s %s %s\n" % (hexnode, sigver, sig)