Author: bugman Date: Thu Aug 13 15:20:47 2009 New Revision: 9292 URL: http://svn.gna.org/viewcvs/relax?rev=9292&view=rev Log: Updated the _off() and _on() user function echoing methods. The flag is now a boolean, and the message has been reworded. 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=9292&r1=9291&r2=9292&view=diff ============================================================================== --- 1.3/prompt/interpreter.py (original) +++ 1.3/prompt/interpreter.py Thu Aug 13 15:20:47 2009 @@ -289,15 +289,15 @@ def _off(self): """Function for turning the function introductions off.""" - self.intro = 0 - print "Function intros have been disabled." + self.intro = False + print "Echoing of user function calls has been disabled." def _on(self): """Function for turning the function introductions on.""" - self.intro = 1 - print "Function intros have been enabled." + self.intro = True + print "Echoing of user function calls has been enabled." def script(self, file=None, quit=0):