From: stevenknight Date: Sun, 15 Nov 2009 16:18:17 +0000 (+0000) Subject: 1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..." X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1662d911c7a14397d368996d19c8d54bc1828c04;p=scons.git 1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..." git-svn-id: http://scons.tigris.org/svn/scons/trunk@4393 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/compat/__init__.py b/src/engine/SCons/compat/__init__.py index 553fcf3f..100d8332 100644 --- a/src/engine/SCons/compat/__init__.py +++ b/src/engine/SCons/compat/__init__.py @@ -268,7 +268,7 @@ except AttributeError: args = args[:3] flags = os.O_RDWR | os.O_CREAT | os.O_EXCL if not text and hasattr( os, 'O_BINARY' ) : - flags |= os.O_BINARY + flags = flags | os.O_BINARY while True: try : name = tempfile.mktemp( *args, **kw )