summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-20 14:35:43 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-20 14:35:43 +0900
commitbe5b26c33adc9e541476a51dded0b45ed4819852 (patch)
treebf0b66985f6683f7117530ef6a8f3ebb8a9eeec6
parent671a7412dd1100db1fc2fefa714e5a4d60249dfd (diff)
downloadbuildstream-be5b26c33adc9e541476a51dded0b45ed4819852.tar.gz
_pipeline.py: Declare tracking related members in the constructor
-rw-r--r--buildstream/_pipeline.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 80e7d076c..682329e6c 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -111,6 +111,8 @@ class Pipeline():
self._artifacts = None
self._loader = None
self._exceptions = None
+ self._track_cross_junctions = False
+ self._track_elements = []
#
# Early initialization
@@ -187,7 +189,6 @@ class Pipeline():
# Work out what we're going track, if anything
self._track_cross_junctions = track_cross_junctions
- self._track_elements = []
if track_elements:
self._track_elements = self._get_elements_to_track(track_elements, track_selection)