diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-11-28 17:50:51 +0000 |
---|---|---|
committer | Benjamin Schubert <bschubert15@bloomberg.net> | 2020-01-16 16:33:19 +0000 |
commit | 5cb2442e789d6b302f7d261ba5d2a2ad5366d7c2 (patch) | |
tree | 172dcee0a766d70fb80c0b41d086c873a0268b44 /src/buildstream/element.py | |
parent | 3be6d07753599ef54b9e80ac066571632e217ce2 (diff) | |
download | buildstream-5cb2442e789d6b302f7d261ba5d2a2ad5366d7c2.tar.gz |
source.py: Remove 'get_consistency' completely
This is not needed now that we have 'is_resolved' and 'is_cached'.
We can therefore drop all calling places and implementations of it.
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index b0a4da928..cdbf4b3dd 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -2361,9 +2361,6 @@ class Element(Plugin): if not source.is_resolved(): self.__consistency = Consistency.INCONSISTENT else: - # FIXME: It'd be nice to remove this eventually - source._update_state() - if source._is_cached(): self.__consistency = min(self.__consistency, Consistency.CACHED) else: |