From: Mark H. <mha...@us...> - 2007-01-22 22:18:49
|
Update of /cvsroot/pywin32/pywin32/com/win32com/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29112 Modified Files: gencache.py Log Message: Correct the way we were looking for .py files on the filesystem Index: gencache.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/gencache.py,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** gencache.py 13 Feb 2005 12:05:46 -0000 1.31 --- gencache.py 22 Jan 2007 22:18:44 -0000 1.32 *************** *** 606,610 **** ret = [] for file in files: ! if not os.path.isdir(file) and not os.path.splitext(file)==".py": continue name = os.path.splitext(os.path.split(file)[1])[0] --- 606,610 ---- ret = [] for file in files: ! if not os.path.isdir(file) and not os.path.splitext(file)[1]==".py": continue name = os.path.splitext(os.path.split(file)[1])[0] |