##// END OF EJS Templates
url: remove test for self.ui in BetterHTTPS...
Mads Kiilerich -
r13419:1cc73868 default
parent child Browse files
Show More
@@ -546,12 +546,9 if has_https:
546 send = keepalive.safesend
546 send = keepalive.safesend
547
547
548 def connect(self):
548 def connect(self):
549 if hasattr(self, 'ui'):
550 cacerts = self.ui.config('web', 'cacerts')
549 cacerts = self.ui.config('web', 'cacerts')
551 if cacerts:
550 if cacerts:
552 cacerts = util.expandpath(cacerts)
551 cacerts = util.expandpath(cacerts)
553 else:
554 cacerts = None
555
552
556 hostfingerprint = self.ui.config('hostfingerprints', self.host)
553 hostfingerprint = self.ui.config('hostfingerprints', self.host)
557 if cacerts and not hostfingerprint:
554 if cacerts and not hostfingerprint:
General Comments 0
You need to be logged in to leave comments. Login now