def checkcfg(cfg): __pychecker__ = 'no-abstract' try: rroot = rules.parsefile(cfg['rulefile']) except rules.BadInput, e: log.error("error loading rules file %s: %s" %\ (cfg['rulefile'], str(e))) rroot = None
def process(args): for a in args: genOut(rules.parsefile(a))