diff options
author | Steven Knight <knight@baldmt.com> | 2004-07-06 10:56:29 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-07-06 10:56:29 (GMT) |
commit | d3d95ce654a910678d4f4ecdda955d115ffa9518 (patch) | |
tree | d517e8ef7984b5ba14a2e89bd5bfc4a7439d73a4 /test/Builder-factories.py | |
parent | c0734f10b95c16bccd20cf7b2086e485995e2044 (diff) | |
download | SCons-d3d95ce654a910678d4f4ecdda955d115ffa9518.zip SCons-d3d95ce654a910678d4f4ecdda955d115ffa9518.tar.gz SCons-d3d95ce654a910678d4f4ecdda955d115ffa9518.tar.bz2 |
Win32 portability.
Diffstat (limited to 'test/Builder-factories.py')
-rw-r--r-- | test/Builder-factories.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Builder-factories.py b/test/Builder-factories.py index 6007d45..8bdcd3a 100644 --- a/test/Builder-factories.py +++ b/test/Builder-factories.py @@ -43,10 +43,10 @@ import os.path def mkdir(env, source, target): t = str(target[0]) os.makedirs(t) - open(os.path.join(t, 'marker'), 'w').write("MakeDirectory\\n") + open(os.path.join(t, 'marker'), 'wb').write("MakeDirectory\\n") MakeDirectory = Builder(action=mkdir, target_factory=Dir) def collect(env, source, target): - out = open(str(target[0]), 'w') + out = open(str(target[0]), 'wb') dir = str(source[0]) for f in os.listdir(dir): f = os.path.join(dir, f) |