cleanup logging
This commit is contained in:
parent
013090893d
commit
16a24fa5cc
3 changed files with 11 additions and 8 deletions
|
|
@ -49,6 +49,8 @@ class FingerprintHTTPSConnection(http.client.HTTPSConnection):
|
|||
self._fingerprint, len(self._fingerprint))
|
||||
return False
|
||||
logger.debug('ssl fingerprint: %s (match: %s)', fingerprint, fingerprint == self._fingerprint)
|
||||
if fingerprint != self._fingerprint:
|
||||
logger.debug('expected fingerprint: %s', self._fingerprint)
|
||||
return fingerprint == self._fingerprint
|
||||
|
||||
def connect(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue