mirror of https://gitlab.com/ita1024/waf.git
Remove Node.sig/Node.cache_sig
This commit is contained in:
parent
3e7098861c
commit
a5d2c5fe24
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue