mailr15757 - /1.3/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 17, 2012 - 16:35:
Author: bugman
Date: Tue Apr 17 16:35:38 2012
New Revision: 15757

URL: http://svn.gna.org/viewcvs/relax?rev=15757&view=rev
Log:
Fix for the initialisation of the Exec_info class for the prompt/script 
output.

The class was not being initialised at all!  Thought the variables were class 
rather than instance
variables, so the problem was hidden.


Modified:
    1.3/prompt/interpreter.py

Modified: 1.3/prompt/interpreter.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/interpreter.py?rev=15757&r1=15756&r2=15757&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Tue Apr 17 16:35:38 2012
@@ -128,7 +128,7 @@
         self.__intro_string = info.intro_text()
 
         # Initialise the execution information container (info that can 
change during execution).
-        self._exec_info = Exec_info
+        self._exec_info = Exec_info()
 
         # The prompts (change the Python prompt, as well as the function 
print outs).
         sys.ps1 = self._exec_info.ps1




Related Messages


Powered by MHonArc, Updated Tue Apr 17 16:40:02 2012