equal
deleted
inserted
replaced
528 send = keepalive.safesend |
528 send = keepalive.safesend |
529 |
529 |
530 def connect(self): |
530 def connect(self): |
531 if hasattr(self, 'ui'): |
531 if hasattr(self, 'ui'): |
532 cacerts = self.ui.config('web', 'cacerts') |
532 cacerts = self.ui.config('web', 'cacerts') |
|
533 if cacerts: |
|
534 cacerts = util.expandpath(cacerts) |
533 else: |
535 else: |
534 cacerts = None |
536 cacerts = None |
535 |
537 |
536 if cacerts: |
538 if cacerts: |
537 sock = _create_connection((self.host, self.port)) |
539 sock = _create_connection((self.host, self.port)) |