mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 11:19:52 +01:00
search -> search_node - Issue 1617
This commit is contained in:
parent
e72c310b7d
commit
7e62e3a54f
@ -108,10 +108,10 @@ def dosomething(ctx):
|
|||||||
nd1 = ctx.path.make_node('foo.txt') <2>
|
nd1 = ctx.path.make_node('foo.txt') <2>
|
||||||
print(nd1)
|
print(nd1)
|
||||||
|
|
||||||
nd2 = ctx.path.search('foo.txt') <3>
|
nd2 = ctx.path.search_node('foo.txt') <3>
|
||||||
print(nd2)
|
print(nd2)
|
||||||
|
|
||||||
nd3 = ctx.path.search('bar.txt') <4>
|
nd3 = ctx.path.search_node('bar.txt') <4>
|
||||||
print(nd3)
|
print(nd3)
|
||||||
|
|
||||||
nd2.write('some text') <5>
|
nd2.write('some text') <5>
|
||||||
|
Loading…
Reference in New Issue
Block a user