a
This commit is contained in:
parent
503d292559
commit
30c249f1fe
@ -559,10 +559,9 @@ class TapWeeklyReport:
|
|||||||
try:
|
try:
|
||||||
data_type = line.get("name")
|
data_type = line.get("name")
|
||||||
row_tags[data_type]={}
|
row_tags[data_type]={}
|
||||||
pdb.set_trace()
|
|
||||||
for items in line.get("row_data"):
|
for items in line.get("row_data"):
|
||||||
for tag in items[-1].split(','):
|
for tag in items[-1].split(','):
|
||||||
row_tags[data_type][tag] += row_tags[data_type].get(tag, 0) + 1
|
row_tags[data_type][tag] = row_tags[data_type].get(tag, 0) + 1
|
||||||
except Exception:
|
except Exception:
|
||||||
log.error(f"collect tags failed with {line}", exc_info=True)
|
log.error(f"collect tags failed with {line}", exc_info=True)
|
||||||
return row_tags
|
return row_tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user