Back to index

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

List of all members.

Public Member Functions

def __init__
def do

Public Attributes

 client_name
 name

Detailed Description

Definition at line 188 of file fsck_plugin.py.


Constructor & Destructor Documentation

def obnamlib.plugins.fsck_plugin.CheckClient.__init__ (   self,
  client_name 
)

Definition at line 190 of file fsck_plugin.py.

00190 
00191     def __init__(self, client_name):
00192         self.client_name = client_name
00193         self.name = 'client %s' % client_name


Member Function Documentation

Definition at line 194 of file fsck_plugin.py.

00194 
00195     def do(self):
00196         logging.debug('Checking client=%s' % self.client_name)
00197         if self.repo.current_client != self.client_name:
00198             self.repo.open_client(self.client_name)
00199         yield CheckGenerationIdsAreDifferent(self.client_name,
00200                                               self.repo.list_generations())
00201         for genid in self.repo.list_generations():
00202             yield CheckGeneration(self.client_name, genid)
00203 


Member Data Documentation

Definition at line 191 of file fsck_plugin.py.

Definition at line 192 of file fsck_plugin.py.


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