openbsd-ports/lang/python/patches/patch-Lib_tempfile_py
2001-06-05 17:00:21 +00:00

13 lines
501 B
Plaintext

$OpenBSD: patch-Lib_tempfile_py,v 1.5 2001/06/05 17:00:23 jasoni Exp $
--- Lib/tempfile.py.orig Thu Mar 1 21:51:16 2001
+++ Lib/tempfile.py Sun Jun 3 09:18:01 2001
@@ -21,7 +21,7 @@ def gettempdir():
pwd = os.getcwd()
except (AttributeError, os.error):
pwd = os.curdir
- attempdirs = ['/tmp', '/var/tmp', '/usr/tmp', pwd]
+ attempdirs = ['/tmp', '/var/tmp', pwd]
if os.name == 'nt':
attempdirs.insert(0, 'C:\\TEMP')
attempdirs.insert(0, '\\TEMP')