diff --git a/quantum/client.py b/quantum/client.py index a8b70f8cd9..5f832398b2 100644 --- a/quantum/client.py +++ b/quantum/client.py @@ -123,7 +123,7 @@ class Client(object): # Open connection and send request, handling SSL certs certs = {'key_file':self.key_file, 'cert_file':self.cert_file} certs = {x:certs[x] for x in certs if x != None} - print connection_type + if self.use_ssl and len(certs): c = connection_type(self.host, self.port, **certs) else: