summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-04 20:44:28 -0300
committerBruno Wagner Goncalves <bwagner@thoughtworks.com>2014-08-04 20:48:59 -0300
commit3b03c4406592bb8e49e0ffab08d9eae292d0b51c (patch)
tree1ffb7f04d6cbe53fdfe7a51f34e8bbe80d3b6c49 /service
parentd4900afecfc02d912a180fc144e6679a808e57d3 (diff)
Changed not 'attr' in to 'attr' not in because python was complaining
Diffstat (limited to 'service')
-rw-r--r--service/app/bitmask_libraries/provider.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/app/bitmask_libraries/provider.py b/service/app/bitmask_libraries/provider.py
index 1bfd69fb..b130af89 100644
--- a/service/app/bitmask_libraries/provider.py
+++ b/service/app/bitmask_libraries/provider.py
@@ -44,7 +44,7 @@ class LeapProvider(object):
return self.server_name == other.server_name
def ensure_supports_mx(self):
- if not 'mx' in self.services:
+ if 'mx' not in self.services:
raise Exception
def download_certificate_to(self, filename):
@@ -86,7 +86,6 @@ class LeapProvider(object):
raise Exception('Certificate fingerprints don\'t match')
def fetch_provider_json(self):
-
url = '%s/provider.json' % self._provider_base_url()
response = requests.get(url, verify=which_bundle(self), timeout=self.config.timeout_in_s)
response.raise_for_status()