commit | 29e5f5d81f19f40c47f2e63866d8474bc8602550 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 09 14:27:57 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 09 14:27:57 1998 +0000 |
tree | f56cb6702906d6539bd4b36dae873a5ca5537e68 | |
parent | c09e6b1c0ab8ea6e0f2cc77e87a602e909385c43 [diff] |
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.