mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 03:09:30 +01:00
Fixed the KeyError for multiple dependencies on the same task
This commit is contained in:
parent
08de887cfb
commit
b11454526d
@ -85,7 +85,10 @@ def get_out(self):
|
||||
pass
|
||||
else:
|
||||
for k in ws:
|
||||
k.remove(tsk)
|
||||
try:
|
||||
k.remove(tsk)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
return tsk
|
||||
Runner.Parallel.get_out = get_out
|
||||
@ -100,6 +103,9 @@ def skip(self, tsk):
|
||||
pass
|
||||
else:
|
||||
for k in ws:
|
||||
k.remove(tsk)
|
||||
try:
|
||||
k.remove(tsk)
|
||||
except KeyError:
|
||||
pass
|
||||
Runner.Parallel.skip = skip
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user