]> granicus.if.org Git - python/commit
When getcwd() doesn't exist or raises an exception, don't fail but
authorGuido van Rossum <guido@python.org>
Thu, 9 Apr 1998 14:27:57 +0000 (14:27 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Apr 1998 14:27:57 +0000 (14:27 +0000)
commit29e5f5d81f19f40c47f2e63866d8474bc8602550
treef56cb6702906d6539bd4b36dae873a5ca5537e68
parentc09e6b1c0ab8ea6e0f2cc77e87a602e909385c43
When getcwd() doesn't exist or raises an exception, don't fail but
fall back to using os.curdir instead; if it is fine, don't use
os.curdir at all.
Lib/tempfile.py