diff options
author | Miltos <miltos@allamanis.com> | 2021-01-14 12:39:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 12:39:42 +0300 |
commit | 261b5a76d8c000ce1354e0a0437b9c2f846fc6a3 (patch) | |
tree | eeb0574c7bf3a0c4d3eb90c24bdfbc8494a443fb /acme | |
parent | 2fca48caaa8529432d003b0fdc880b673f6be1f5 (diff) |
Minor fix to logging message (#8605)
* Minor fix to logging message
the `if socket_kwargs` will always evaluate to `true`.
* Update acme/acme/crypto_util.py
Co-authored-by: alexzorin <alex@zor.io>
Diffstat (limited to 'acme')
-rw-r--r-- | acme/acme/crypto_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acme/acme/crypto_util.py b/acme/acme/crypto_util.py index cabc7f4d1..4b58db328 100644 --- a/acme/acme/crypto_util.py +++ b/acme/acme/crypto_util.py @@ -166,7 +166,7 @@ def probe_sni(name, host, port=443, timeout=300, # pylint: disable=too-many-argu " from {0}:{1}".format( source_address[0], source_address[1] - ) if socket_kwargs else "" + ) if any(source_address) else "" ) socket_tuple = (host, port) # type: Tuple[str, int] sock = socket.create_connection(socket_tuple, **socket_kwargs) # type: ignore |