Benjamin Schubert pushed to branch bschubert/further-opti at BuildStream / buildstream
Commits:
-
f3096971
by Benjamin Schubert at 2019-02-06T09:24:50Z
1 changed file:
Changes:
... | ... | @@ -71,7 +71,7 @@ class LoadElement: |
71 | 71 |
self.node = node # The YAML node
|
72 | 72 |
self.name = filename # The element name
|
73 | 73 |
self.node_id = self.get_id()
|
74 |
- self.deps_id = 0b0
|
|
74 |
+ self.deps_id = self.node_id
|
|
75 | 75 |
|
76 | 76 |
#
|
77 | 77 |
# Private members
|
... | ... | @@ -100,7 +100,7 @@ class LoadElement: |
100 | 100 |
|
101 | 101 |
def add_dependency(self, element, dep_type):
|
102 | 102 |
self.dependencies.append(LoadElement._Dependency(element, dep_type))
|
103 |
- self.deps_id |= element.node_id
|
|
103 |
+ self.deps_id |= element.deps_id
|
|
104 | 104 |
|
105 | 105 |
@classmethod
|
106 | 106 |
def get_id(cls):
|