Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Private Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def write
def writelines
def __getattr__

Public Attributes


Private Attributes


Detailed Description

Wrapper for sys.stdout so we know if data has actually been written.

Definition at line 359 of file

Constructor & Destructor Documentation

Definition at line 363 of file

00364     def __init__(self, stdout):
00365         self._file = stdout
00366         self.dataWritten = False

Member Function Documentation

Definition at line 376 of file

00377     def __getattr__(self, name):
00378         return getattr(self._file, name)

Definition at line 367 of file

00368     def write(self, data):
00369         if data:
00370             self.dataWritten = True
00371         self._file.write(data)

Here is the caller graph for this function:

Definition at line 372 of file

00373     def writelines(self, lines):
00374         for line in lines:
00375             self.write(line)

Member Data Documentation

Definition at line 364 of file

Definition at line 365 of file

The documentation for this class was generated from the following file: