1.5.2 fix in compat/__init__.py: "flags |= ..." => "flags = flags | ..."
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 15 Nov 2009 16:18:17 +0000 (16:18 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 15 Nov 2009 16:18:17 +0000 (16:18 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4393 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/compat/__init__.py

index 553fcf3f9c65380284059276b6b34dd4ec57143e..100d83328cc79ed15a6a8d58086eaf1c1472ab4c 100644 (file)
@@ -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 )