Author: bugman Date: Fri May 18 12:34:48 2012 New Revision: 16335 URL: http://svn.gna.org/viewcvs/relax?rev=16335&view=rev Log: The prompt-based interpreter no longer sets the status.prompt_intro flag in the __init__() method. This flag is now set by the instantiation of the singleton status object. This prevents multiple calls to the Interpreter.__init__() method overwriting this flag. This fixes problems in the GUI tests. Modified: branches/uf_redesign/prompt/interpreter.py branches/uf_redesign/status.py Modified: branches/uf_redesign/prompt/interpreter.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/interpreter.py?rev=16335&r1=16334&r2=16335&view=diff ============================================================================== --- branches/uf_redesign/prompt/interpreter.py (original) +++ branches/uf_redesign/prompt/interpreter.py Fri May 18 12:34:48 2012 @@ -97,9 +97,6 @@ else: self.prompt_colour_off() - # The function intro flag (store in the execution information container). - status.prompt_intro = False - # Set up the interpreter objects. self._locals = self._setup() Modified: branches/uf_redesign/status.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/status.py?rev=16335&r1=16334&r2=16335&view=diff ============================================================================== --- branches/uf_redesign/status.py (original) +++ branches/uf_redesign/status.py Fri May 18 12:34:48 2012 @@ -55,6 +55,7 @@ self._instance.debug = False self._instance.pedantic = False self._instance.test_mode = False + self._instance.prompt_intro = False self._instance.show_gui = False self._instance.install_path = self._instance._det_install_path()