Skip to content

Commit

Permalink
Merge pull request PanDAWMS#388 from PanDAWMS/dev
Browse files Browse the repository at this point in the history
Converting row to list()
  • Loading branch information
Foorth authored Sep 10, 2024
2 parents 81988cd + 734966b commit 4562472
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/dashboards/jobsummaryregion.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def prepare_job_summary_region(jsr_queues_dict, jsr_sites_dict, jsr_regions_dict
for pq, params in jsr_queues_dict.items():
for jt, resourcetypes in params['summary'].items():
for rt, summary in resourcetypes.items():
row = []
row = list()
row.append(pq)
row.append(params['pq_params'].get('pqtype', 'N/A'))
row.append(params['pq_params'].get('region', 'N/A'))
Expand Down Expand Up @@ -71,7 +71,7 @@ def prepare_job_summary_region(jsr_queues_dict, jsr_sites_dict, jsr_regions_dict
for site, jobtypes in jsr_sites_dict.items():
for jt, resourcetypes in jobtypes.items():
for rt, summary in resourcetypes.items():
row = []
row = list()
row.append(site)
row.append(jt)
row.append(rt)
Expand Down Expand Up @@ -103,7 +103,7 @@ def prepare_job_summary_region(jsr_queues_dict, jsr_sites_dict, jsr_regions_dict
for reg, jobtypes in jsr_regions_dict.items():
for jt, resourcetypes in jobtypes.items():
for rt, summary in resourcetypes.items():
row = []
row = list()
row.append(reg)
row.append(jt)
row.append(rt)
Expand Down

0 comments on commit 4562472

Please sign in to comment.