Logo Search packages:      
Sourcecode: bcfg2 version File versions  Download package

def lib::Client::Tools::Tool::Inventory (   self,
  structures = [] 
)

Dispatch verify calls to underlying methods

Definition at line 90 of file __init__.py.

00090                                       :
        '''Dispatch verify calls to underlying methods'''
        if not structures:
            structures = self.config.getchildren()
        for (struct, entry) in [(struct, entry) for struct in structures \
                                for entry in struct.getchildren() \
                                if self.canVerify(entry)]:
            try:
                func = getattr(self, "Verify%s" % (entry.tag))
                self.states[entry] = func(entry, self.buildModlist(entry, struct))
            except:
                self.logger.error(
                    "Unexpected failure of verification method for entry type %s" \
                    % (entry.tag), exc_info=1)
        self.extra = self.FindExtra()

    def Install(self, entries):


Generated by  Doxygen 1.6.0   Back to index