summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2018-05-17 10:10:12 +0100
committerJim MacArthur <jim.macarthur@codethink.co.uk>2018-06-12 17:28:34 +0100
commit82df1eaeb47cc5857e8a15401879210e383bf394 (patch)
tree1779b1e71a6bd186ae522f2ae59e2492a3431fac
parent5881a2eb6ca1e4344bfd9e9afcf16783cce7dbf2 (diff)
downloadbuildstream-82df1eaeb47cc5857e8a15401879210e383bf394.tar.gz
Fixup compose: pep8
-rw-r--r--buildstream/plugins/elements/compose.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/plugins/elements/compose.py b/buildstream/plugins/elements/compose.py
index c6ac1bfbf..76f985f23 100644
--- a/buildstream/plugins/elements/compose.py
+++ b/buildstream/plugins/elements/compose.py
@@ -122,7 +122,6 @@ class ComposeElement(Element):
snapshot = set(vbasedir.list_relative_paths())
vbasedir.mark_unmodified()
-
for dep in self.dependencies(Scope.BUILD):
dep.integrate(sandbox)
@@ -132,7 +131,7 @@ class ComposeElement(Element):
modified_files = set(vbasedir.list_modified_paths())
basedir_contents = set(post_integration_snapshot)
for path in manifest:
- if path in snapshot and not path in basedir_contents:
+ if path in snapshot and path not in basedir_contents:
removed_files.add(path)
for path in basedir_contents: