mailr14322 - in /branches/gui_testing: gui/relax_gui.py status.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 10, 2011 - 20:58:
Author: bugman
Date: Wed Aug 10 20:58:12 2011
New Revision: 14322

URL: http://svn.gna.org/viewcvs/relax?rev=14322&view=rev
Log:
sys.__stdout__ and sys.__stderr__ are no longer being written to.


Modified:
    branches/gui_testing/gui/relax_gui.py
    branches/gui_testing/status.py

Modified: branches/gui_testing/gui/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/relax_gui.py?rev=14322&r1=14321&r2=14322&view=diff
==============================================================================
--- branches/gui_testing/gui/relax_gui.py (original)
+++ branches/gui_testing/gui/relax_gui.py Wed Aug 10 20:58:12 2011
@@ -323,7 +323,7 @@
             for line in wrap(info.bib['dAuvergneGooley08b'].cite_short(), 
width):
                 text = text + line + '\n'
             text = text + '\n'
-            sys.__stdout__.write(text)
+            sys.stdout.write(text)
 
             # Remove the Mac OS X task bar icon.
             if hasattr(self, 'taskbar_icon'):

Modified: branches/gui_testing/status.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=14322&r1=14321&r2=14322&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Wed Aug 10 20:58:12 2011
@@ -440,7 +440,7 @@
         # Debugging.
         if self.debug:
             # Write out.
-            sys.__stderr__.write('Acquire')
+            sys.stderr.write('Acquire')
 
             # Increment the lock level.
             self._lock_level += 1
@@ -472,7 +472,7 @@
         # Debugging.
         if self.debug:
             # Write out.
-            sys.__stderr__.write('Release')
+            sys.stderr.write('Release')
 
             # Increment the lock level.
             self._lock_level -= 1




Related Messages


Powered by MHonArc, Updated Wed Aug 10 22:00:02 2011