3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

IRCNetwork: more consistent log format when remote certfp is verified

This commit is contained in:
James Lu 2018-06-15 15:52:04 -07:00
parent b26d75a6a8
commit ab9df93898

View File

@ -1656,7 +1656,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils):
'match the one configured (%s: %r)' % (hashtype, fp, hashtype, expected_fp)) 'match the one configured (%s: %r)' % (hashtype, fp, hashtype, expected_fp))
else: else:
log.info('(%s) Uplink TLS/SSL certificate fingerprint ' log.info('(%s) Uplink TLS/SSL certificate fingerprint '
'(%s) verified: %r', self.name, hashtype, fp) 'verified (%s: %r)', self.name, hashtype, fp)
else: else:
log.info('(%s) Uplink\'s TLS/SSL certificate fingerprint (%s) ' log.info('(%s) Uplink\'s TLS/SSL certificate fingerprint (%s) '
'is %r. You can enhance the security of your ' 'is %r. You can enhance the security of your '