mailr10306 - /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 January 25, 2010 - 14:31:
Author: bugman
Date: Mon Jan 25 14:31:09 2010
New Revision: 10306

URL: http://svn.gna.org/viewcvs/relax?rev=10306&view=rev
Log:
Eliminated the dummy mode.

This is only used by the fetch_docstrings script and will soon not be 
necessary.


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=10306&r1=10305&r2=10306&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Mon Jan 25 14:31:09 2010
@@ -254,12 +254,6 @@
             # Run the script.
             return run_script(intro=self.__intro_string, local=locals(), 
script_file=script_file, quit=self.__quit_flag, 
show_script=self.__show_script, raise_relax_error=self.__raise_relax_error)
 
-        # Test for the dummy mode for generating documentation (then exit).
-        elif hasattr(self.relax, 'dummy_mode'):
-            # Place the namespace into self.relax
-            self.relax.local = locals()
-            return
-
         # Go to the prompt.
         else:
             prompt(intro=self.__intro_string, local=locals())




Related Messages


Powered by MHonArc, Updated Mon Jan 25 16:00:02 2010