mailr15394 - /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 February 28, 2012 - 16:30:
Author: bugman
Date: Tue Feb 28 16:30:03 2012
New Revision: 15394

URL: http://svn.gna.org/viewcvs/relax?rev=15394&view=rev
Log:
The relax prompt mode now prints the intro message to sys.stdout.

This fixes this mode with the logging option or in the mpi4py multiprocessor 
mode.


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=15394&r1=15393&r2=15394&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Tue Feb 28 16:30:03 2012
@@ -414,7 +414,7 @@
 
     # Print the program introduction.
     if intro:
-        self.write("%s\n" % intro)
+        sys.stdout.write("%s\n" % intro)
 
     # Ignore SIGINT.
     #signal.signal(2, 1)




Related Messages


Powered by MHonArc, Updated Tue Feb 28 19:00:01 2012