Repeated failures remove signatures - Issue 1580

This commit is contained in:
Thomas Nagy 2015-05-31 16:51:44 +02:00
parent f6b6191480
commit 92f584fd8f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class fc(Task.Task):
if x.startswith('MOD@'):
name = bld.modfile(x.replace('MOD@', ''))
node = bld.srcnode.find_or_declare(name)
if not hasattr(node, 'sig'):
if not getattr(node, 'sig', None):
node.sig = Utils.SIG_NIL
tsk.set_outputs(node)
outs[id(node)].add(tsk)