From 1662d911c7a14397d368996d19c8d54bc1828c04 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 15 Nov 2009 16:18:17 +0000 Subject: [PATCH] 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 --- src/engine/SCons/compat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.26.2