mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
missed one possible exception
This commit is contained in:
parent
b5bb54ede7
commit
779a93f07b
@ -682,8 +682,9 @@ class Node(object):
|
||||
if not node:
|
||||
self = self.get_src()
|
||||
node = self.find_node(lst)
|
||||
if os.path.isdir(node.abspath()):
|
||||
return None
|
||||
if node:
|
||||
if os.path.isdir(node.abspath()):
|
||||
return None
|
||||
return node
|
||||
|
||||
def find_or_declare(self, lst):
|
||||
|
Loading…
Reference in New Issue
Block a user