summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons')
-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 :