2
0
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:
Thomas Nagy 2015-08-31 23:41:19 +02:00
parent e72c310b7d
commit 7e62e3a54f
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

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