diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
commit | 0bfa6712f6b0ba40f7df806ec35a40fa056f026f (patch) | |
tree | 821e70780eb384562d222a2e8cbfe8f4e78a430d /test/Command.py | |
parent | d274d685b3fae62354a7c3deb0622e2edd81b0c7 (diff) | |
download | SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.zip SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.gz SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.bz2 |
Make FunctionAction arguments be Nodes, not strings. (Charles Crain)
Diffstat (limited to 'test/Command.py')
-rw-r--r-- | test/Command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Command.py b/test/Command.py index ddf78ce..1f4a490 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 |