fixed indentation
This commit is contained in:
parent
0fce823952
commit
691453950b
@ -31,7 +31,7 @@ class SGETracker(IntervalModule):
|
|||||||
shell=True)
|
shell=True)
|
||||||
root = etree.fromstring(xml)
|
root = etree.fromstring(xml)
|
||||||
job_dict = {'qw': 0, 'Eqw': 0, 'r': 0}
|
job_dict = {'qw': 0, 'Eqw': 0, 'r': 0}
|
||||||
|
|
||||||
for j in root.xpath('//job_info/job_info/job_list'):
|
for j in root.xpath('//job_info/job_info/job_list'):
|
||||||
job_dict[j.find("state").text] += 1
|
job_dict[j.find("state").text] += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user