- DLTKLanguageManager - removed unused exception declarations + Each project now could contain interpreter container with custom attributes for libraries resolving * Tcl packages done via interpreter attributes.
diff --git a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/codeassist/PythonAssistParser.java b/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/codeassist/PythonAssistParser.java index 6752220..bea0f4f 100644 --- a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/codeassist/PythonAssistParser.java +++ b/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/codeassist/PythonAssistParser.java
@@ -13,13 +13,11 @@ import java.util.Iterator; import java.util.List; -import org.eclipse.core.runtime.CoreException; import org.eclipse.dltk.ast.ASTNode; import org.eclipse.dltk.ast.declarations.ModuleDeclaration; import org.eclipse.dltk.ast.parser.ISourceParser; import org.eclipse.dltk.codeassist.IAssistParser; import org.eclipse.dltk.compiler.env.ISourceModule; -import org.eclipse.dltk.core.DLTKCore; import org.eclipse.dltk.core.DLTKLanguageManager; import org.eclipse.dltk.python.core.PythonNature; @@ -31,14 +29,8 @@ protected ASTNode assistNodeParent = null; protected PythonAssistParser() { - try { - parser = DLTKLanguageManager - .getSourceParser(PythonNature.NATURE_ID); - } catch (CoreException e) { - if (DLTKCore.DEBUG) { - e.printStackTrace(); - } - } + parser = DLTKLanguageManager + .getSourceParser(PythonNature.NATURE_ID); } public ASTNode getAssistNodeParent() {