mirror of https://gitlab.com/ita1024/waf.git
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
43d6363177
commit
28846d6f34
|
@ -710,10 +710,11 @@ class Task(evil):
|
|||
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