openbsd-ports/lang/python/2.6/patches/patch-Lib_tempfile_py
djm 413ba2dc4a port of Python-2.6, with 100% fewer build knobs!
Thanks to Ian Darwin, Will Maier and Aleksander Piotrowski for feedback
2008-10-18 12:03:56 +00:00

13 lines
491 B
Plaintext

$OpenBSD: patch-Lib_tempfile_py,v 1.1 2008/10/18 12:03:56 djm Exp $
--- Lib/tempfile.py.orig Mon May 12 21:24:33 2008
+++ Lib/tempfile.py Mon Aug 25 07:43:08 2008
@@ -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: