[pypy-svn] r34208 - pypy/branch/refactor-file/pypy/rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Nov 5 10:51:31 CET 2006


Author: cfbolz
Date: Sun Nov  5 10:51:30 2006
New Revision: 34208

Modified:
   pypy/branch/refactor-file/pypy/rlib/streamio.py
Log:
hm. supply the missing last argument.


Modified: pypy/branch/refactor-file/pypy/rlib/streamio.py
==============================================================================
--- pypy/branch/refactor-file/pypy/rlib/streamio.py	(original)
+++ pypy/branch/refactor-file/pypy/rlib/streamio.py	Sun Nov  5 10:51:30 2006
@@ -76,7 +76,7 @@
 
 def open_path_helper(path, os_flags, append):
     # XXX for now always return DiskFile
-    fd = os.open(path, os_flags)
+    fd = os.open(path, os_flags, 0666)
     if append:
         try:
             os.lseek(fd, 0, 2)



More information about the Pypy-commit mailing list