Back to index

obnam  1.1
Public Member Functions | Public Attributes
obnamlib.plugins.fsck_plugin.CheckClientExists Class Reference
Inheritance diagram for obnamlib.plugins.fsck_plugin.CheckClientExists:
Inheritance graph
[legend]
Collaboration diagram for obnamlib.plugins.fsck_plugin.CheckClientExists:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def do

Public Attributes

 client_name
 name

Detailed Description

Definition at line 174 of file fsck_plugin.py.


Constructor & Destructor Documentation

Definition at line 176 of file fsck_plugin.py.

00176 
00177     def __init__(self, client_name):
00178         self.client_name = client_name
00179         self.name = 'does client %s exist?' % client_name


Member Function Documentation

Definition at line 180 of file fsck_plugin.py.

00180 
00181     def do(self):
00182         logging.debug('Checking client=%s exists' % self.client_name)
00183         client_id = self.repo.clientlist.get_client_id(self.client_name)
00184         if client_id is None:
00185             self.error('Client %s is in client list, but has no id' %
00186                           self.client_name)
00187 

Here is the call graph for this function:


Member Data Documentation

Definition at line 177 of file fsck_plugin.py.

Definition at line 178 of file fsck_plugin.py.


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