Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Private Attributes
MoinMoin.support.flup.server.fcgi_base.StdoutWrapper Class Reference

List of all members.

Public Member Functions

def __init__
def write
def writelines
def __getattr__

Public Attributes

 dataWritten

Private Attributes

 _file

Detailed Description

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

Definition at line 359 of file fcgi_base.py.


Constructor & Destructor Documentation

Definition at line 363 of file fcgi_base.py.

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


Member Function Documentation

Definition at line 376 of file fcgi_base.py.

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

Definition at line 367 of file fcgi_base.py.

00367 
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 fcgi_base.py.

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


Member Data Documentation

Definition at line 364 of file fcgi_base.py.

Definition at line 365 of file fcgi_base.py.


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