Author: bugman Date: Tue Sep 1 16:44:00 2009 New Revision: 9425 URL: http://svn.gna.org/viewcvs/relax?rev=9425&view=rev Log: Added a function intro text for the script() user function. 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=9425&r1=9424&r2=9425&view=diff ============================================================================== --- 1.3/prompt/interpreter.py (original) +++ 1.3/prompt/interpreter.py Tue Sep 1 16:44:00 2009 @@ -303,6 +303,13 @@ def script(self, file=None, quit=False): """Function for executing a script file.""" + # Function intro text. + if self.intro: + text = sys.ps3 + "script(" + text = text + "file=" + repr(file) + text = text + ", quit=" + repr(quit) + ")" + print(text) + # File argument. if file == None: raise RelaxNoneError('file')