summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-01 21:45:28 +0200
committerKali Kaneko <kali@leap.se>2013-08-02 11:12:47 +0200
commit11294fe5b7de8149bc3beee6812ad045c78ee469 (patch)
treeb15340a27462fce66c50f31d2023db09f3df6906
parent90c932e44173acddb61e358fd34d36422dca9cde (diff)
reduce indentation
-rw-r--r--src/leap/services/soledad/soledadbootstrapper.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/leap/services/soledad/soledadbootstrapper.py b/src/leap/services/soledad/soledadbootstrapper.py
index 208ad34c..e3ccc7fb 100644
--- a/src/leap/services/soledad/soledadbootstrapper.py
+++ b/src/leap/services/soledad/soledadbootstrapper.py
@@ -128,12 +128,12 @@ class SoledadBootstrapper(AbstractBootstrapper):
self._soledad_config = SoledadConfig()
headers = {}
- mtime = get_mtime(os.path.join(self._soledad_config
- .get_path_prefix(),
- "leap",
- "providers",
- self._provider_config.get_domain(),
- "soledad-service.json"))
+ mtime = get_mtime(
+ os.path.join(
+ self._soledad_config.get_path_prefix(),
+ "leap", "providers",
+ self._provider_config.get_domain(),
+ "soledad-service.json"))
if self._download_if_needed and mtime:
headers['if-modified-since'] = mtime
@@ -160,10 +160,11 @@ class SoledadBootstrapper(AbstractBootstrapper):
# Not modified
if res.status_code == 304:
logger.debug("Soledad definition has not been modified")
- self._soledad_config.load(os.path.join("leap",
- "providers",
- self._provider_config.get_domain(),
- "soledad-service.json"))
+ self._soledad_config.load(
+ os.path.join(
+ "leap", "providers",
+ self._provider_config.get_domain(),
+ "soledad-service.json"))
else:
soledad_definition, mtime = get_content(res)