diff --git a/VERSION b/VERSION index 512a1fa..9ee1f78 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.9 +1.1.11 diff --git a/ecsclient/baseclient.py b/ecsclient/baseclient.py index 4058751..7310b30 100644 --- a/ecsclient/baseclient.py +++ b/ecsclient/baseclient.py @@ -54,7 +54,7 @@ def __init__(self, username=None, password=None, token=None, if not (token or os.path.isfile(token_path)): raise ECSClientException("'token_endpoint' not provided and missing 'token'|'token_path'") - self.override_header = override_header + self.override_header = override_header self.username = username self.password = password self.token = token @@ -109,7 +109,7 @@ def _fetch_headers(self): headers = {'Accept': 'application/json', 'Content-Type': 'application/json', 'x-sds-auth-token': token} - if self.override_header != None: + if self.override_header is not None: headers['X-EMC-Override'] = self.override_header return headers