summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-19 15:34:10 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-19 15:34:10 (GMT)
commitc348cd751846ddc8cec61c47928867e30d94549c (patch)
tree8c788b610e55203a63086218f69f249e94ba666f
parent17820c4f1b4726b04360f22d515b44b3a755a55d (diff)
downloadcpython-c348cd751846ddc8cec61c47928867e30d94549c.zip
cpython-c348cd751846ddc8cec61c47928867e30d94549c.tar.gz
cpython-c348cd751846ddc8cec61c47928867e30d94549c.tar.bz2
fix long line
-rw-r--r--Lib/tempfile.py3
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: