Exemplo n.º 1
0
 def __init__(self, group="unknown", dataset="unknown", config=None):
     self.messages = []
     self.n_lines = 0
     self.n_assocs = 0
     self.skipped = 0
     self.reporter = parsereport.Report(group, dataset)
     self.config = config
Exemplo n.º 2
0
 def __init__(self, group="unknown", dataset="unknown", config=None):
     self.messages = []
     self.n_lines = 0
     self.n_assocs = 0
     self.skipped = 0
     self.reporter = parsereport.Report(group, dataset)
     if config is None:
         config = AssocParserConfig()
     self.config = config
     self.header = []