summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-11-07 08:57:30 +0000
committerDarius Makovsky <traveltissues@protonmail.com>2019-11-07 12:57:13 +0000
commitfe2dc7a5482ddd98fdee5657d963ad8f401e5779 (patch)
tree07a9fd78c6514516296ca08f1d8b5f2cd7164bf3
parent5e6819e3377995b4e08fc0a8d434f363bcde7c7c (diff)
downloadbuildstream-fe2dc7a5482ddd98fdee5657d963ad8f401e5779.tar.gz
_stream: Remove exception case for removed option
-rw-r--r--src/buildstream/_stream.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index 91f37cbf3..f09a46185 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -1213,16 +1213,6 @@ class Stream():
# Hold on to the targets
self.targets = elements + artifacts
- # Here we should raise an error if the track_elements targets
- # are not dependencies of the primary targets, this is not
- # supported.
- #
- # This can happen with `bst build --track`
- #
- if targets and not self._pipeline.targets_include(elements, track_elements):
- raise StreamError("Specified tracking targets that are not "
- "within the scope of primary targets")
-
# First take care of marking tracking elements, this must be
# done before resolving element states.
#