diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-28 15:57:56 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-29 15:48:45 +0000 |
commit | a5d9d3f329e8a0487cf364c73c952a57ad1a8ed4 (patch) | |
tree | 8f2c3564f2499257130a5f38f4aaca2bf5242946 | |
parent | b52c6f8585330dd4cf1abc1e25d4b2d12b675eb2 (diff) | |
download | buildstream-a5d9d3f329e8a0487cf364c73c952a57ad1a8ed4.tar.gz |
source.py: _get_unique_key before _stage
-rw-r--r-- | src/buildstream/source.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py index 9698a1cf3..033ad86a4 100644 --- a/src/buildstream/source.py +++ b/src/buildstream/source.py @@ -1389,6 +1389,9 @@ class Source(Plugin): # previous sources should never be in an inconsistent state assert src.get_consistency() != Consistency.INCONSISTENT + if src.BST_NO_PRESTAGE_KEY: + src._get_unique_key() + if src.get_consistency() == Consistency.RESOLVED: src._fetch(previous_sources[0:index]) |