mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
Let Node.find_or_declare accept paths as lists
This commit is contained in:
parent
a892d8725a
commit
ec9081e81c
@ -788,7 +788,7 @@ class Node(object):
|
||||
:param lst: relative path
|
||||
:type lst: string or list of string
|
||||
"""
|
||||
if os.path.isabs(lst):
|
||||
if isinstance(lst, str) and os.path.isabs(lst):
|
||||
node = self.ctx.root.make_node(lst)
|
||||
else:
|
||||
node = self.get_bld().make_node(lst)
|
||||
|
Loading…
Reference in New Issue
Block a user