[Pydev-cvs] org.python.pydev/PySrc simpleTipper.py,1.8,1.9 importsTipper.py,1.4,1.5
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-01-19 16:18:26
|
Update of /cvsroot/pydev/org.python.pydev/PySrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10128/PySrc Modified Files: simpleTipper.py importsTipper.py Log Message: Still on code completion... Index: simpleTipper.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/simpleTipper.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** simpleTipper.py 19 Oct 2004 14:43:02 -0000 1.8 --- simpleTipper.py 19 Jan 2005 16:18:11 -0000 1.9 *************** *** 116,120 **** if checkForSelf: toReturn += GetSelfVariables(originalDoc, token) ! return toReturn --- 116,124 ---- if checkForSelf: toReturn += GetSelfVariables(originalDoc, token) ! ! import sys ! if __eraseThisCurrDirModule is not None: ! del sys.path[__eraseThisCurrDirModule] ! return toReturn Index: importsTipper.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/PySrc/importsTipper.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** importsTipper.py 22 Sep 2004 12:04:30 -0000 1.4 --- importsTipper.py 19 Jan 2005 16:18:13 -0000 1.5 *************** *** 30,33 **** --- 30,36 ---- m = stripExtension(f, ret, '.py') + if f.endswith('.pyw'): + m = stripExtension(f, ret, '.pyw') + if f.endswith('.pyc'): m = stripExtension(f, ret, '.pyc') *************** *** 48,52 **** contents2 = os.listdir(absolute) ! if '__init__.py' in contents2 or '__init__.pyc' in contents2: ret.append((f,absolute)) --- 51,55 ---- contents2 = os.listdir(absolute) ! if '__init__.py' in contents2 or '__init__.pyc' in contents2 or '__init__.pyw' in contents2: ret.append((f,absolute)) |