Show More
@@ -511,9 +511,10 b' if has_https:' | |||
|
511 | 511 | ca_certs=cacerts) |
|
512 | 512 | msg = _verifycert(self.sock.getpeercert(), self.host) |
|
513 | 513 | if msg: |
|
514 |
raise util.Abort('%s certificate error: %s' % |
|
|
515 | self.ui.debug(_('%s certificate successfully verified\n') % | |
|
516 | self.host) | |
|
514 | raise util.Abort(_('%s certificate error: %s') % | |
|
515 | (self.host, msg)) | |
|
516 | self.ui.debug('%s certificate successfully verified\n' % | |
|
517 | self.host) | |
|
517 | 518 | else: |
|
518 | 519 | httplib.HTTPSConnection.connect(self) |
|
519 | 520 |
General Comments 0
You need to be logged in to leave comments.
Login now