mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 11:55:04 -02:30
Make CALLBACK_CONSUMER_PORT falsy values be dummified.
This commit is contained in:
@@ -85,7 +85,7 @@ class Socket(object):
|
|||||||
|
|
||||||
# If the port is None, then this is an intentional dummy;
|
# If the port is None, then this is an intentional dummy;
|
||||||
# honor this. (For testing.)
|
# honor this. (For testing.)
|
||||||
if port is None:
|
if not port:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Okay, create the connection.
|
# Okay, create the connection.
|
||||||
|
|||||||
Reference in New Issue
Block a user