diff options
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r-- | Lib/tempfile.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index a503e7f..7d7f924 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -41,7 +41,8 @@ def gettempdir(): filename = os.path.join(dir, testfile) if os.name == 'posix': try: - fd = os.open(filename, os.O_RDWR|os.O_CREAT|os.O_EXCL, 0700) + fd = os.open(filename, + os.O_RDWR | os.O_CREAT | os.O_EXCL, 0700) except OSError: pass else: |