merge with stable
authorMartin Geisler <mg@aragost.com>
Fri, 01 Oct 2010 16:43:03 +0200
changeset 12607 1393a81b3bdc
parent 12606 5c8353692123 (current diff)
parent 12602 14198926975d (diff)
child 12608 16b854cb80f1
merge with stable
mercurial/url.py
--- a/mercurial/url.py	Fri Oct 01 16:39:55 2010 +0200
+++ b/mercurial/url.py	Fri Oct 01 16:43:03 2010 +0200
@@ -528,9 +528,10 @@
                         ca_certs=cacerts)
                 msg = _verifycert(self.sock.getpeercert(), self.host)
                 if msg:
-                    raise util.Abort('%s certificate error: %s' % (self.host, msg))
-                self.ui.debug(_('%s certificate successfully verified\n') % 
-                    self.host)
+                    raise util.Abort(_('%s certificate error: %s') %
+                                     (self.host, msg))
+                self.ui.debug('%s certificate successfully verified\n' %
+                              self.host)
             else:
                 httplib.HTTPSConnection.connect(self)