Show More
@@ -528,9 +528,10 b' if has_https:' | |||||
528 | ca_certs=cacerts) |
|
528 | ca_certs=cacerts) | |
529 | msg = _verifycert(self.sock.getpeercert(), self.host) |
|
529 | msg = _verifycert(self.sock.getpeercert(), self.host) | |
530 | if msg: |
|
530 | if msg: | |
531 |
raise util.Abort('%s certificate error: %s' % |
|
531 | raise util.Abort(_('%s certificate error: %s') % | |
532 | self.ui.debug(_('%s certificate successfully verified\n') % |
|
532 | (self.host, msg)) | |
533 | self.host) |
|
533 | self.ui.debug('%s certificate successfully verified\n' % | |
|
534 | self.host) | |||
534 | else: |
|
535 | else: | |
535 | httplib.HTTPSConnection.connect(self) |
|
536 | httplib.HTTPSConnection.connect(self) | |
536 |
|
537 |
General Comments 0
You need to be logged in to leave comments.
Login now