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

def rule_table::RuleTable::load (   self,

Load self.store from rules.

Definition at line 71 of file rule_table.py.

00071                          :
        '''Load self.store from rules.'''
        for rule in rules:
            err = self._validate_rule(rule)
            if err is not None:
                # FIXME: GUI?
                print >> sys.stderr, err
            it = self.store.append()
            self.store.set_value(it, 0, rule)
            self._update_row(it, rule)

    def save(self, rules):

Generated by  Doxygen 1.6.0   Back to index