gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r209600 - /gump/branches/Gump3/gump
Date Thu, 07 Jul 2005 14:12:23 GMT
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



Mime
View raw message