mirror of https://gitlab.com/ita1024/waf.git
find_node returns Nodes that exist, no need to verify again
This commit is contained in:
parent
6579592065
commit
1ebb318ec0
|
@ -731,8 +731,6 @@ class Node(object):
|
|||
self = self.get_src()
|
||||
node = self.find_node(lst)
|
||||
if node:
|
||||
if not os.path.isfile(node.abspath()):
|
||||
node.parent.mkdir()
|
||||
return node
|
||||
node = self.get_bld().make_node(lst)
|
||||
node.parent.mkdir()
|
||||
|
|
Loading…
Reference in New Issue