Update of /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/brm/bike/query
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2281/PySrc/ThirdParty/brm/bike/query
Modified Files:
common.py getTypeOf.py
Log Message:
Making refactoring.
Index: getTypeOf.py
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/brm/bike/query/getTypeOf.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** getTypeOf.py 14 Sep 2004 17:42:08 -0000 1.1
--- getTypeOf.py 17 Sep 2004 19:22:03 -0000 1.2
***************
*** 25,28 ****
--- 25,29 ----
def getTypeOf(scope, fqn):
if isinstance(scope, Root):
+ return getModuleOrPackageUsingFQN(fqn)
assert False, "Can't use getTypeOf to resolve from Root. Use getModuleOrPackageUsingFQN instead"
Index: common.py
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/PySrc/ThirdParty/brm/bike/query/common.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** common.py 16 Sep 2004 15:32:44 -0000 1.2
--- common.py 17 Sep 2004 19:22:02 -0000 1.3
***************
*** 59,62 ****
--- 59,63 ----
except :
print >> log.warning , 'Error parsing: %s' % doctoredline
+ print >> log.warning , 'Params: \n--%s\n--%s\n--%s\n--%s' % (sourcenode,scope,matchFinder,targetname)
raise
scope = getScopeForLine(sourcenode, lineno)
|