Increase consistency of chceks
This commit is contained in:
parent
30e4a43a9f
commit
ee3789aab9
@ -535,13 +535,20 @@ class Worker:
|
|||||||
|
|
||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
self.l.log(5, 'Table %s', pformat(importedData.htmlResults.tabges))
|
# self.l.log(5, 'Table %s', pformat(importedData.htmlResults.tabges))
|
||||||
self.l.log(5, 'Results %s', pformat(importedData.htmlResults.results))
|
# self.l.log(5, 'Results %s', pformat(importedData.htmlResults.results))
|
||||||
|
|
||||||
for tup in importedData.htmlResults.results.keys():
|
for tup in importedData.htmlResults.results.keys():
|
||||||
gr = groupParser.parseClass(tup[0])
|
currentGroup = groupParser.parseClass(tup[0])
|
||||||
if not gr == group:
|
activeGroups = currentGroup.getContainedGroups()
|
||||||
|
if group not in activeGroups:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
fixture = importedData.htmlResults.tabges[tup]
|
||||||
|
if fixture[2] is not None and fixture[2] != group:
|
||||||
|
self.l.log(5, 'Skipping id %s in group %s as not part', tup[3], group)
|
||||||
|
continue
|
||||||
|
|
||||||
part = importedData.htmlResults.results[tup][0]
|
part = importedData.htmlResults.results[tup][0]
|
||||||
part.id = int(tup[3])
|
part.id = int(tup[3])
|
||||||
ret.append(part)
|
ret.append(part)
|
||||||
|
Loading…
Reference in New Issue
Block a user