diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-28 15:57:56 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-30 10:48:48 +0000 |
commit | c0d080f32be44df9ebe1861c823d5ab41032b87b (patch) | |
tree | 1703f1911c500c8c27fabeae74d6e6f2c1aedbfb | |
parent | 1feff0403cf3dd2f5fc8509cd70562eb6325239c (diff) | |
download | buildstream-c0d080f32be44df9ebe1861c823d5ab41032b87b.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]) |