You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/07/07 16:12:23 UTC
svn commit: r209600 - /gump/branches/Gump3/gump
Author: leosimons
Date: Thu Jul 7 07:12:22 2005
New Revision: 209600
URL: http://svn.apache.org/viewcvs?rev=209600&view=rev
Log:
Don't make pydoc lock up gump
Modified:
gump/branches/Gump3/gump
Modified: gump/branches/Gump3/gump
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/gump?rev=209600&r1=209599&r2=209600&view=diff
==============================================================================
--- gump/branches/Gump3/gump (original)
+++ gump/branches/Gump3/gump Thu Jul 7 07:12:22 2005
@@ -629,8 +629,6 @@
# Run pygump using the specified python command
function do_run
{
- lock
-
# add pygump to python path
local oldpythonpath="$PYTHONPATH"
if [[ -z "$oldpythonpath" ]]; then
@@ -678,27 +676,31 @@
if [[ ! -z "$oldpythonpath" ]]; then
export PYTHONPATH="$oldpythonpath"
fi
-
- unlock
}
# Run pygump in normal mode
function run
{
+ lock
do_run $GUMP_HOME/pygump/python/main.py $@
+ unlock
}
# Run pygump in the debugger
function debug
{
+ lock
run --attach-pdb $@
+ unlock
}
# Run pygump in the Wing IDE debugger
function debug_with_wing
{
+ lock
run --attach-wingdb $@
+ unlock
}
# Run pydoc on the pygump codebase