On 27.03.2013 12:01, Richard Marko wrote:
+def report_in_kb(db, report):
+ '''
+ Check if `report` matches entry in knowledge base.
+ '''
+ if not report.backtraces:
+ return False
+
+ bt = report.backtraces[0]
+ parsers = get_kb_btpath_parsers(db)
+
+ for parser in parsers:
+ for frame in bt.frames:
+ if parser.match(frame.symbolsource.path):
+ return True
+
+ return False
Can you also include the package name check?