mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 18:07:12 +01:00
Removed an old and unnecessary wrapper for objects in deps_man
This commit is contained in:
parent
f7ed95d60e
commit
6124ee6975
@ -428,9 +428,9 @@ class BuildContext(Context.Context):
|
||||
node = self.path.find_resource(path)
|
||||
|
||||
if isinstance(value, list):
|
||||
self.deps_man[id(node)].extend(value)
|
||||
self.deps_man[node].extend(value)
|
||||
else:
|
||||
self.deps_man[id(node)].append(value)
|
||||
self.deps_man[node].append(value)
|
||||
|
||||
def launch_node(self):
|
||||
"""Returns the launch directory as a :py:class:`waflib.Node.Node` object"""
|
||||
|
@ -663,7 +663,7 @@ class Task(TaskBase):
|
||||
additional_deps = bld.deps_man
|
||||
for x in self.inputs + self.outputs:
|
||||
try:
|
||||
d = additional_deps[id(x)]
|
||||
d = additional_deps[x]
|
||||
except KeyError:
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user