Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
Archetypes.debug.SafeFileWrapper Class Reference

List of all members.

Public Member Functions

def __init__
def write
def close
def __getattr__

Public Attributes

 fp

Detailed Description

Definition at line 15 of file debug.py.


Constructor & Destructor Documentation

Definition at line 16 of file debug.py.

00016 
00017     def __init__(self, fp):
00018         self.fp = fp

Here is the caller graph for this function:


Member Function Documentation

Definition at line 29 of file debug.py.

00029 
00030     def __getattr__(self, key):
00031         return getattr(self.fp, key)
00032 

Here is the caller graph for this function:

Definition at line 26 of file debug.py.

00026 
00027     def close(self):
00028         self.fp.close()

Here is the caller graph for this function:

def Archetypes.debug.SafeFileWrapper.write (   self,
  msg 
)
If for some reason we can't log, just deal with it

Definition at line 19 of file debug.py.

00019 
00020     def write(self, msg):
00021         """If for some reason we can't log, just deal with it"""
00022         try:
00023             self.fp.write(msg)
00024         except IOError, E:
00025             pass

Here is the caller graph for this function:


Member Data Documentation

Definition at line 17 of file debug.py.


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