##// END OF EJS Templates
merge with i18n
Matt Mackall -
r12609:93d8bff7 merge 1.6.4 stable
parent child Browse files
Show More
@@ -511,8 +511,9 if has_https:
511 ca_certs=cacerts)
511 ca_certs=cacerts)
512 msg = _verifycert(self.sock.getpeercert(), self.host)
512 msg = _verifycert(self.sock.getpeercert(), self.host)
513 if msg:
513 if msg:
514 raise util.Abort('%s certificate error: %s' % (self.host, msg))
514 raise util.Abort(_('%s certificate error: %s') %
515 self.ui.debug(_('%s certificate successfully verified\n') %
515 (self.host, msg))
516 self.ui.debug('%s certificate successfully verified\n' %
516 self.host)
517 self.host)
517 else:
518 else:
518 httplib.HTTPSConnection.connect(self)
519 httplib.HTTPSConnection.connect(self)
General Comments 0
You need to be logged in to leave comments. Login now