[Pydev-cvs] org.python.pydev/src/org/python/pydev/plugin/nature SystemPythonNature.java, 1.6, 1.7
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2006-09-17 13:26:14
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/nature In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17680/src/org/python/pydev/plugin/nature Modified Files: SystemPythonNature.java Log Message: Index: SystemPythonNature.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/plugin/nature/SystemPythonNature.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** SystemPythonNature.java 3 Sep 2006 00:26:08 -0000 1.6 --- SystemPythonNature.java 17 Sep 2006 13:26:12 -0000 1.7 *************** *** 8,11 **** --- 8,12 ---- import org.eclipse.core.runtime.NullProgressMonitor; import org.python.pydev.core.ICodeCompletionASTManager; + import org.python.pydev.core.IInterpreterInfo; import org.python.pydev.core.IInterpreterManager; import org.python.pydev.core.IModule; *************** *** 118,122 **** public int getGrammarVersion() { ! throw new RuntimeException("Not implemented"); } --- 119,124 ---- public int getGrammarVersion() { ! IInterpreterInfo info = manager.getDefaultInterpreterInfo(new NullProgressMonitor()); ! return info.getGrammarVersion(); } |