openbsd-ports/lang/python/2.7/patches/patch-Lib_tempfile_py
2011-07-06 12:05:56 +00:00

13 lines
494 B
Plaintext

$OpenBSD: patch-Lib_tempfile_py,v 1.2 2011/07/06 12:05:56 jasper Exp $
--- Lib/tempfile.py.orig Wed Jul 1 15:34:35 2009
+++ Lib/tempfile.py Wed Jul 6 14:05:40 2011
@@ -155,7 +155,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: