Back to index

obnam  1.1
Public Member Functions | Public Attributes
obnamlib.hooks_tests.NeverAddsFilter Class Reference

List of all members.

Public Member Functions

def __init__
def filter_read
def filter_write

Public Attributes

 tag
 args
 kwargs
 wasread

Detailed Description

Definition at line 73 of file hooks_tests.py.


Constructor & Destructor Documentation

Definition at line 75 of file hooks_tests.py.

00075 
00076     def __init__(self):
00077         self.tag = "never"


Member Function Documentation

def obnamlib.hooks_tests.NeverAddsFilter.filter_read (   self,
  data,
  args,
  kwargs 
)

Definition at line 78 of file hooks_tests.py.

00078 
00079     def filter_read(self, data, *args, **kwargs):
00080         self.args = args
00081         self.kwargs = kwargs
00082         self.wasread = True
00083         return data

Here is the caller graph for this function:

def obnamlib.hooks_tests.NeverAddsFilter.filter_write (   self,
  data,
  args,
  kwargs 
)

Definition at line 84 of file hooks_tests.py.

00084 
00085     def filter_write(self, data, *args, **kwargs):
00086         self.args = args
00087         self.kwargs = kwargs
00088         self.wasread = False
00089         return data

Here is the caller graph for this function:


Member Data Documentation

Definition at line 79 of file hooks_tests.py.

Definition at line 80 of file hooks_tests.py.

Definition at line 76 of file hooks_tests.py.

Definition at line 81 of file hooks_tests.py.


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