diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-02-06 09:24:50 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-02-06 09:24:50 +0000 |
commit | f3096971e5eef3b22a29f230e55de8ea00b97171 (patch) | |
tree | f327d665354b4e111d9423a2289848b1e445a87a | |
parent | 8ade7ead686748dc0460479c2628a9a6b4806c13 (diff) | |
download | buildstream-bschubert/further-opti.tar.gz |
fixup! testbschubert/further-opti
-rw-r--r-- | buildstream/_loader/loadelement.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_loader/loadelement.py b/buildstream/_loader/loadelement.py index 8650e50ee..cb8621d10 100644 --- a/buildstream/_loader/loadelement.py +++ b/buildstream/_loader/loadelement.py @@ -71,7 +71,7 @@ class LoadElement: self.node = node # The YAML node self.name = filename # The element name self.node_id = self.get_id() - self.deps_id = 0b0 + self.deps_id = self.node_id # # Private members @@ -100,7 +100,7 @@ class LoadElement: def add_dependency(self, element, dep_type): self.dependencies.append(LoadElement._Dependency(element, dep_type)) - self.deps_id |= element.node_id + self.deps_id |= element.deps_id @classmethod def get_id(cls): |