mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Make CALLBACK_CONSUMER_PORT falsy values be dummified.
This commit is contained in:
parent
27933df220
commit
2b33715b66
@ -85,7 +85,7 @@ class Socket(object):
|
||||
|
||||
# If the port is None, then this is an intentional dummy;
|
||||
# honor this. (For testing.)
|
||||
if port is None:
|
||||
if not port:
|
||||
return
|
||||
|
||||
# Okay, create the connection.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user