mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-10 02:15:13 +01:00
Merge pull request #1808 from guludo/fix-saved_attrs
Fix error when adding new items to SAVED_ATTRS
This commit is contained in:
commit
873048ba8e
@ -316,7 +316,7 @@ class BuildContext(Context.Context):
|
||||
Logs.debug('build: Could not pickle the build cache %s: %r', dbfn, e)
|
||||
else:
|
||||
for x in SAVED_ATTRS:
|
||||
setattr(self, x, data[x])
|
||||
setattr(self, x, data.get(x, {}))
|
||||
finally:
|
||||
Node.pickle_lock.release()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user