mailr19606 - /trunk/prompt/interpreter.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 29, 2013 - 11:27:
Author: bugman
Date: Mon Apr 29 11:27:57 2013
New Revision: 19606

URL: http://svn.gna.org/viewcvs/relax?rev=19606&view=rev
Log:
Removed some bad calls to status.exec_lock.release().

This commit may have to be reverted in the future.  The problem is that the 
execution lock is not
being held when these calls are made.  The calls were added as a kludge to 
handle certain situations
where the execution lock was not released.  There may be cases were this 
behaviour is still needed.


Modified:
    trunk/prompt/interpreter.py

Modified: trunk/prompt/interpreter.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/prompt/interpreter.py?rev=19606&r1=19605&r2=19606&view=diff
==============================================================================
--- trunk/prompt/interpreter.py (original)
+++ trunk/prompt/interpreter.py Mon Apr 29 11:27:57 2013
@@ -469,9 +469,6 @@
 
     # Catch ctrl-C.
     except KeyboardInterrupt:
-        # Unlock execution.
-        status.exec_lock.release()
-
         # Throw the error.
         if status.debug:
             raise
@@ -506,9 +503,6 @@
 
     # Throw all other errors.
     except:
-        # Unlock execution.
-        status.exec_lock.release()
-
         # Raise the error.
         raise
 




Related Messages


Powered by MHonArc, Updated Mon Apr 29 11:40:02 2013