summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Coldrick <thomascoldrick@ct-lt-1266.unassigned>2018-06-21 18:06:40 +0100
committerThomas Coldrick <thomascoldrick@ct-lt-1266.unassigned>2018-06-21 18:06:40 +0100
commit5d45c52f1ee45519aad94347887432f27f5a5e4f (patch)
tree3cc474edcd1462ae14d8df8e5c16d8b6c2c76613
parent0fe0584c738ef2beae3012ac1516259ae4ee74ad (diff)
downloadbuildstream-5d45c52f1ee45519aad94347887432f27f5a5e4f.tar.gz
Make formatting pep8
-rw-r--r--buildstream/element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index e44721f81..d58a88230 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -1464,7 +1464,7 @@ class Element(Plugin):
.format(e))
raise
-
+
collectdir = os.path.join(sandbox_root, collect.lstrip(os.sep))
if not os.path.exists(collectdir):
raise ElementError(
@@ -1829,7 +1829,7 @@ class Element(Plugin):
os.fsync(logfile.fileno())
except ValueError:
raise ElementError('Action {} for element {} tried to write to a closed log file.'
- .format(action_name, self.name))
+ .format(action_name, self.name))
self._set_log_handle(logfile)
with _signals.terminator(flush_log):