openbsd-ports/lang/python/2.5/patches/patch-Lib_tempfile_py
2006-11-01 20:59:18 +00:00

13 lines
492 B
Plaintext

$OpenBSD: patch-Lib_tempfile_py,v 1.1 2006/11/01 20:59:18 alek Exp $
--- Lib/tempfile.py.orig Fri Jun 16 14:31:06 2006
+++ Lib/tempfile.py Mon Sep 18 06:31:09 2006
@@ -163,7 +163,7 @@ def _candidate_tempdir_list():
elif _os.name == 'nt':
dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
else:
- dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])
+ dirlist.extend([ '/tmp', '/var/tmp' ])
# As a last resort, the current directory.
try: