[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/codecompletion PythonShell.java,1.25,1.26
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-02-18 11:14:45
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18423/src/org/python/pydev/editor/codecompletion Modified Files: PythonShell.java Log Message: Added patch to enable better color management. Index: PythonShell.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PythonShell.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** PythonShell.java 19 Nov 2004 10:06:34 -0000 1.25 --- PythonShell.java 18 Feb 2005 11:14:34 -0000 1.26 *************** *** 160,164 **** if(process != null) endIt(); ! String interpreter = getDefaultInterpreter(); String osName = System.getProperty("os.name"); --- 160,164 ---- if(process != null) endIt(); ! String interpreter = PydevPrefs.getDefaultInterpreter(); String osName = System.getProperty("os.name"); *************** *** 233,248 **** /** - * @return - */ - protected String getDefaultInterpreter() { - try { - return PydevPrefs.getDefaultInterpreter(); - } catch (RuntimeException e) { - return "python"; - } - } - - - /** * This method creates the python server process and starts the sockets, so that we * can talk with the server. --- 233,236 ---- |