Remove Node.sig/Node.cache_sig

This commit is contained in:
Thomas Nagy 2016-12-01 22:55:49 +01:00
parent 3e7098861c
commit a5d2c5fe24
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
1 changed files with 0 additions and 13 deletions

View File

@ -908,19 +908,6 @@ class Node(object):
raise
return ret
# --------------------------------------------
# TODO waf 2.0, remove the sig and cache_sig attributes
def get_sig(self):
return self.h_file()
def set_sig(self, val):
# clear the cache, so that past implementation should still work
try:
del self.get_bld_sig.__cache__[(self,)]
except (AttributeError, KeyError):
pass
sig = property(get_sig, set_sig)
cache_sig = property(get_sig, set_sig)
pickle_lock = Utils.threading.Lock()
"""Lock mandatory for thread-safe node serialization"""