find_node returns Nodes that exist, no need to verify again

This commit is contained in:
Thomas Nagy 2016-03-27 21:29:02 +02:00
parent 6579592065
commit 1ebb318ec0
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 0 additions and 2 deletions

View File

@ -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()