Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/refactoring
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13448/src/org/python/pydev/editor/refactoring
Modified Files:
PyRefactoring.java
Log Message:
Logging to eclipse and not stdout.
Index: PyRefactoring.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/refactoring/PyRefactoring.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** PyRefactoring.java 21 Jan 2007 00:50:56 -0000 1.35
--- PyRefactoring.java 28 May 2008 11:10:34 -0000 1.36
***************
*** 20,23 ****
--- 20,24 ----
import org.python.pydev.editor.model.ItemPointer;
import org.python.pydev.editor.model.Location;
+ import org.python.pydev.plugin.PydevPlugin;
/**
***************
*** 56,60 ****
AbstractShell.getServerShell(IPythonNature.PYTHON_RELATED, AbstractShell.OTHERS_SHELL).restartShell();
} catch (Exception e) {
! e.printStackTrace();
}
}
--- 57,61 ----
AbstractShell.getServerShell(IPythonNature.PYTHON_RELATED, AbstractShell.OTHERS_SHELL).restartShell();
} catch (Exception e) {
! PydevPlugin.log(e);
}
}
***************
*** 67,71 ****
AbstractShell.getServerShell(IPythonNature.PYTHON_RELATED, AbstractShell.OTHERS_SHELL).endIt();
} catch (Exception e) {
! e.printStackTrace();
}
}
--- 68,72 ----
AbstractShell.getServerShell(IPythonNature.PYTHON_RELATED, AbstractShell.OTHERS_SHELL).endIt();
} catch (Exception e) {
! PydevPlugin.log(e);
}
}
***************
*** 91,100 ****
return URLDecoder.decode(pytonShell.read(request.getMonitor()), "UTF-8");
} catch (Exception e) {
! e.printStackTrace();
pytonShell.restartShell();
}
} catch (Exception e1) {
! e1.printStackTrace();
}
return null;
--- 92,101 ----
return URLDecoder.decode(pytonShell.read(request.getMonitor()), "UTF-8");
} catch (Exception e) {
! PydevPlugin.log("Error writing: "+str, e);
pytonShell.restartShell();
}
} catch (Exception e1) {
! PydevPlugin.log("Error writing: "+str, e1);
}
return null;
|