summaryrefslogtreecommitdiff
path: root/test/Command.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-03-16 04:38:43 +0000
committerSteven Knight <knight@baldmt.com>2002-03-16 04:38:43 +0000
commit0bfa6712f6b0ba40f7df806ec35a40fa056f026f (patch)
tree821e70780eb384562d222a2e8cbfe8f4e78a430d /test/Command.py
parentd274d685b3fae62354a7c3deb0622e2edd81b0c7 (diff)
downloadscons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.gz
Make FunctionAction arguments be Nodes, not strings. (Charles Crain)
Diffstat (limited to 'test/Command.py')
-rw-r--r--test/Command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Command.py b/test/Command.py
index ddf78ce9..1f4a4909 100644
--- a/test/Command.py
+++ b/test/Command.py
@@ -41,8 +41,8 @@ file.close()
test.write('SConstruct', """
def buildIt(env, target, source):
- contents = open(source[0], 'rb').read()
- file = open(target, 'wb')
+ contents = open(str(source[0]), 'rb').read()
+ file = open(str(target[0]), 'wb')
file.write(contents)
file.close()
return 0