From be5b26c33adc9e541476a51dded0b45ed4819852 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 20 Apr 2018 14:35:43 +0900 Subject: _pipeline.py: Declare tracking related members in the constructor --- buildstream/_pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1