mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
lint before bed
This commit is contained in:
parent
407c9af8ad
commit
b642a575e7
@ -10,7 +10,6 @@ from __future__ import absolute_import
|
||||
|
||||
# Import Python libs
|
||||
import logging
|
||||
import json
|
||||
|
||||
# Import Salt libs
|
||||
import salt.utils
|
||||
@ -72,7 +71,7 @@ def _parse_fmdump(output):
|
||||
# prepare faults
|
||||
fault = OrderedDict()
|
||||
for field in header:
|
||||
fault[field] = entry[header.index(field)]
|
||||
fault[field] = entry[header.index(field)]
|
||||
|
||||
result.append(fault)
|
||||
|
||||
@ -132,8 +131,8 @@ def _parse_fmadm_config(output):
|
||||
# prepare component
|
||||
component = OrderedDict()
|
||||
for field in header:
|
||||
component[field] = entry[header.index(field)]
|
||||
|
||||
component[field] = entry[header.index(field)]
|
||||
|
||||
result.append(component)
|
||||
|
||||
# keying
|
||||
|
Loading…
Reference in New Issue
Block a user