Author: bugman Date: Mon Jan 7 18:42:52 2008 New Revision: 4457 URL: http://svn.gna.org/viewcvs/relax?rev=4457&view=rev Log: Made the 'intro_string', 'quit', and 'show_script' variables private. 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=4457&r1=4456&r2=4457&view=diff ============================================================================== --- 1.3/prompt/interpreter.py (original) +++ 1.3/prompt/interpreter.py Mon Jan 7 18:42:52 2008 @@ -95,9 +95,9 @@ # Place the arguments in the class namespace. self.relax = relax - self.intro_string = intro_string - self.show_script = show_script - self.quit_flag = quit + self.__intro_string = intro_string + self.__show_script = show_script + self.__quit_flag = quit # The prompts. sys.ps1 = 'relax> ' @@ -241,7 +241,7 @@ self.intro = 1 # Run the script. - run_script(intro=self.intro_string, local=self.local, script_file=script_file, quit=self.quit_flag, show_script=self.show_script) + run_script(intro=self.__intro_string, local=self.local, script_file=script_file, quit=self.__quit_flag, show_script=self.__show_script) # Test for the dummy mode for generating documentation (then exit). elif hasattr(self.relax, 'dummy_mode'): @@ -251,7 +251,7 @@ # Go to the prompt. else: - prompt(intro=self.intro_string, local=self.local) + prompt(intro=self.__intro_string, local=self.local) def _off(self):