1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

rename variable

This commit is contained in:
Kelly Brazil
2021-06-30 17:07:43 -07:00
parent 3d78692c59
commit 223e785b54

View File

@ -219,12 +219,12 @@ def _process(proc_data):
entry[key] = jc.utils.convert_to_int(entry[key].replace('-', ''))
if 'partitions' in entry:
for tp in entry['partitions']:
for key in tp:
for p in entry['partitions']:
for key in p:
if key in int_list:
tp[key] = jc.utils.convert_to_int(tp[key].replace('-', ''))
p[key] = jc.utils.convert_to_int(p[key].replace('-', ''))
if key in bool_list:
tp[key] = jc.utils.convert_to_bool(tp[key])
p[key] = jc.utils.convert_to_bool(p[key])
return proc_data