Back to index

obnam  1.1
Public Member Functions | Public Attributes
obnamlib.plugins.fsck_plugin.CheckGenerationIdsAreDifferent Class Reference
Inheritance diagram for obnamlib.plugins.fsck_plugin.CheckGenerationIdsAreDifferent:
Inheritance graph
Collaboration diagram for obnamlib.plugins.fsck_plugin.CheckGenerationIdsAreDifferent:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def do

Public Attributes


Detailed Description

Definition at line 156 of file

Constructor & Destructor Documentation

def obnamlib.plugins.fsck_plugin.CheckGenerationIdsAreDifferent.__init__ (   self,

Definition at line 158 of file

00159     def __init__(self, client_name, genids):
00160         self.client_name = client_name
00161         self.genids = list(genids)

Member Function Documentation

Definition at line 162 of file

00163     def do(self):
00164         logging.debug('Checking genid uniqueness for client=%s' % 
00165                         self.client_name)
00166         done = set()
00167         while self.genids:
00168             genid = self.genids.pop()
00169             if genid in done:
00170                 self.error('%s: duplicate generation id %s' % genid)
00171             else:
00172                 done.add(genid)

Here is the call graph for this function:

Member Data Documentation

Definition at line 159 of file

Definition at line 160 of file

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