diff --git a/warden3/warden_client/warden_client.py b/warden3/warden_client/warden_client.py index da08778d5a74b86f769fc6f8dbac24986d42ba7f..9e78526611319acf8ce086a714d27215d847a4f3 100644 --- a/warden3/warden_client/warden_client.py +++ b/warden3/warden_client/warden_client.py @@ -355,7 +355,6 @@ class Client(object): if self.url.scheme=="https": conn = HTTPSConnection( self.url.netloc, - strict = False, key_file = self.keyfile, cert_file = self.certfile, timeout = self.timeout, @@ -365,7 +364,6 @@ class Client(object): elif self.url.scheme=="http": conn = httplib.HTTPConnection( self.url.netloc, - strict = False, timeout = self.timeout) else: return Error(message="Don't know how to connect to \"%s\"" % self.url.scheme, @@ -391,7 +389,7 @@ class Client(object): kwargs["secret"] = self.secret if kwargs: - for k in kwargs.keys(): + for k in list(kwargs.keys()): if kwargs[k] is None: del kwargs[k] argurl = "?" + urlencode(kwargs, doseq=True)