ignore bad Record Gramplet/Report data (the data-verification tool catches them)
svn: r22662
This commit is contained in:
parent
96c1cb51da
commit
1bf7ff579e
@ -288,6 +288,9 @@ def _find_records(db, filter, callname):
|
||||
|
||||
def _record(lowest, highest, value, text, handle_type, handle):
|
||||
|
||||
if value < 0: # ignore erroneous data
|
||||
return # (since the data-verification tool already finds it)
|
||||
|
||||
if lowest is not None:
|
||||
lowest.append((value, text, handle_type, handle))
|
||||
lowest.sort(lambda a,b: cmp(a[0], b[0])) # FIXME: Ist das lambda notwendig?
|
||||
|
Loading…
Reference in New Issue
Block a user