mailr10318 - /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 - 18:52:
Author: bugman
Date: Mon Jan 25 18:52:38 2010
New Revision: 10318

URL: http://svn.gna.org/viewcvs/relax?rev=10318&view=rev
Log:
Fixed 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=10318&r1=10317&r2=10318&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Mon Jan 25 18:52:38 2010
@@ -311,7 +311,7 @@
         self.exec_info.intro = True
 
         # Execute the script.
-        run_script(local=self.local, script_file=file, quit=quit)
+        run_script(local=self._locals, script_file=file, quit=quit)
 
         # Return the function intro flag to the original value.
         self.exec_info.intro = orig_intro_state




Related Messages


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