mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
use stdlib int conversion
This commit is contained in:
@ -171,7 +171,7 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
|
|||||||
for entry in proc_data:
|
for entry in proc_data:
|
||||||
for key in entry:
|
for key in entry:
|
||||||
if key in int_list:
|
if key in int_list:
|
||||||
entry[key] = jc.utils.convert_to_int(entry[key])
|
entry[key] = int(entry[key])
|
||||||
|
|
||||||
if 'mount_options' in entry:
|
if 'mount_options' in entry:
|
||||||
entry['mount_options'] = entry['mount_options'].split(',')
|
entry['mount_options'] = entry['mount_options'].split(',')
|
||||||
|
Reference in New Issue
Block a user