[Pydev-cvs] org.python.pydev/src/org/python/pydev/editor/codecompletion PythonShell.java,1.11,1.12
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2004-09-27 18:39:59
|
Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12008/src/org/python/pydev/editor/codecompletion Modified Files: PythonShell.java Log Message: Index: PythonShell.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PythonShell.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** PythonShell.java 27 Sep 2004 18:39:14 -0000 1.11 --- PythonShell.java 27 Sep 2004 18:39:49 -0000 1.12 *************** *** 146,152 **** int attempts = 0; while(!connected && attempts < 20){ attempts += 1; - sleepALittle(milisSleep); try { socketToWrite = new Socket("127.0.0.1",pWrite); //we should write in this port --- 146,152 ---- int attempts = 0; + sleepALittle(200); while(!connected && attempts < 20){ attempts += 1; try { socketToWrite = new Socket("127.0.0.1",pWrite); //we should write in this port *************** *** 157,160 **** --- 157,161 ---- PydevPlugin.log(IStatus.ERROR, "Attempt: "+attempts+" of 20 failed, trying again...", e1); } + sleepALittle(milisSleep); } |