diff --git a/awx/main/socket.py b/awx/main/socket.py index 66ff5c66ec..862fbe0ee8 100644 --- a/awx/main/socket.py +++ b/awx/main/socket.py @@ -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.