diff options
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-08-09 22:33:27 +0900 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-08-10 10:26:49 +0000 |
commit | 9b67820344a9dc575375214e784c946ea2379ddd (patch) | |
tree | d8d875c184290e803ffad616cfe75af88cef2368 | |
parent | f5384afb7b217db9910a3f6f1fca9bead476b97f (diff) | |
download | buildstream-9b67820344a9dc575375214e784c946ea2379ddd.tar.gz |
_loader/loadelement.pyx: Removed an unused line of code
-rw-r--r-- | src/buildstream/_loader/loadelement.pyx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildstream/_loader/loadelement.pyx b/src/buildstream/_loader/loadelement.pyx index 0f0f86639..6cd5b46b7 100644 --- a/src/buildstream/_loader/loadelement.pyx +++ b/src/buildstream/_loader/loadelement.pyx @@ -246,7 +246,6 @@ cdef class LoadElement: # parse their dependencies we cannot rely on the built-in ElementError. deps = extract_depends_from_node(self.node) if deps: - provenance = self.node raise LoadError( "{}: Dependencies are forbidden for 'link' elements".format(element), LoadErrorReason.LINK_FORBIDDEN_DEPENDENCIES |