summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-11-23 01:59:17 (GMT)
committerSteven Knight <knight@baldmt.com>2009-11-23 01:59:17 (GMT)
commit135cc201737944b45f01cd72ec09a38e0cbc9b80 (patch)
treef31e6c2e3ec99b0092f34e408d28920c1c332d47 /src
parentd15249a560354c394c387151f26de769060c01a0 (diff)
downloadSCons-135cc201737944b45f01cd72ec09a38e0cbc9b80.zip
SCons-135cc201737944b45f01cd72ec09a38e0cbc9b80.tar.gz
SCons-135cc201737944b45f01cd72ec09a38e0cbc9b80.tar.bz2
Python 1.5 compat: if 'text' in kw.keys()
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/compat/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/compat/__init__.py b/src/engine/SCons/compat/__init__.py
index 3f68b44..f9212e0 100644
--- a/src/engine/SCons/compat/__init__.py
+++ b/src/engine/SCons/compat/__init__.py
@@ -260,7 +260,9 @@ except AttributeError:
import errno
def mkstemp(*args, **kw):
text = False
- if 'text' in kw :
+ # TODO (1.5)
+ #if 'text' in kw :
+ if 'text' in kw.keys() :
text = kw['text']
del kw['text']
elif len( args ) == 4 :