Author: bugman Date: Mon Apr 22 14:06:36 2013 New Revision: 19581 URL: http://svn.gna.org/viewcvs/relax?rev=19581&view=rev Log: Fix for the nasty bug #20756 (https://gna.org/bugs/?20756). The problem was that the global execution lock was not always released by a relax script when certain errors are raised during the script execution. This does not occur for all types of error though. Now the release of the lock has been shifted into the 'finally' statement to absolutely force lock release. Modified: trunk/prompt/interpreter.py Modified: trunk/prompt/interpreter.py URL: http://svn.gna.org/viewcvs/relax/trunk/prompt/interpreter.py?rev=19581&r1=19580&r2=19581&view=diff ============================================================================== --- trunk/prompt/interpreter.py (original) +++ trunk/prompt/interpreter.py Mon Apr 22 14:06:36 2013 @@ -353,8 +353,8 @@ sys.path.reverse() sys.path.pop(sys.path.index(script_path)) - # Unlock execution if needed. - status.exec_lock.release() + # Unlock execution if needed. + status.exec_lock.release() def interact_prompt(self, intro=None, local={}):