commit | ae882f798435266b41a9c8966562102345a3eda5 | [log] [tgz] |
---|---|---|
author | Johannes Gijsbers <jlg@dds.nl> | Mon Aug 30 10:19:56 2004 +0000 |
committer | Johannes Gijsbers <jlg@dds.nl> | Mon Aug 30 10:19:56 2004 +0000 |
tree | 56f865bf36c127b6702fa53a5ad72daca0fa6570 | |
parent | d3f61a2de6a9664dde5f98b5d0acdef7a73948dc [diff] [blame] |
Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob.
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py index 9f8a1dd..4c64324 100644 --- a/Lib/os2emxpath.py +++ b/Lib/os2emxpath.py
@@ -220,6 +220,8 @@ return False return True +lexists = exists + # Is a path a directory?