mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-24 18:59:39 +01:00
Remove one Node class assumption in Task.py
Tasks cannot assume that additional dependency (deps_man) belong to the same Node object class before obtaining their signatures
This commit is contained in:
parent
194b6e85f5
commit
322f447e0a
@ -735,10 +735,11 @@ class Task(TaskBase):
|
||||
continue
|
||||
|
||||
for v in d:
|
||||
if isinstance(v, bld.root.__class__):
|
||||
try:
|
||||
v = v.get_bld_sig()
|
||||
elif hasattr(v, '__call__'):
|
||||
v = v() # dependency is a function, call it
|
||||
except AttributeError:
|
||||
if hasattr(v, '__call__'):
|
||||
v = v() # dependency is a function, call it
|
||||
upd(v)
|
||||
|
||||
def sig_vars(self):
|
||||
|
Loading…
Reference in New Issue
Block a user