mailr14402 - /branches/gui_testing/multi/processor_io.py


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

Header


Content

Posted by edward on August 22, 2011 - 14:46:
Author: bugman
Date: Mon Aug 22 14:46:55 2011
New Revision: 14402

URL: http://svn.gna.org/viewcvs/relax?rev=14402&view=rev
Log:
Renamed the PrependOut class to IO_filter.


Modified:
    branches/gui_testing/multi/processor_io.py

Modified: branches/gui_testing/multi/processor_io.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/multi/processor_io.py?rev=14402&r1=14401&r2=14402&view=diff
==============================================================================
--- branches/gui_testing/multi/processor_io.py (original)
+++ branches/gui_testing/multi/processor_io.py Mon Aug 22 14:46:55 2011
@@ -26,8 +26,8 @@
 from threading import currentThread
 
 
-class PrependOut:
-    """Class for adding a token to the end of all newlines."""
+class IO_filter:
+    """Mimic and IO stream file object, prepending a token to each line of 
written text."""
 
     def __init__(self, token, stream):
         """Set up the class for stream manipulation.
@@ -37,9 +37,6 @@
         @param stream:  The IO stream
         @type stream:   IO stream
         """
-
-        # Execute the base class __init__() method.
-        StringIO.__init__(self)
 
         # Store the args.
         self.token = token




Related Messages


Powered by MHonArc, Updated Mon Aug 22 15:00:02 2011