mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Make code tiny bit clearer, fix pylint.
This commit is contained in:
parent
88ebdd97d6
commit
e4a40fd835
@ -818,6 +818,7 @@ class AESFuncs(object):
|
||||
clear_load['tgt'],
|
||||
clear_load.get('tgt_type', 'glob'))
|
||||
|
||||
|
||||
def _ext_nodes(self, load):
|
||||
'''
|
||||
Return the results from an external node classifier if one is
|
||||
@ -847,11 +848,13 @@ class AESFuncs(object):
|
||||
)
|
||||
return {}
|
||||
load.pop('tok')
|
||||
ret = {}
|
||||
|
||||
# Evaluate all configured master_tops interfaces
|
||||
|
||||
ret = {}
|
||||
opts = {}
|
||||
grains = {}
|
||||
|
||||
if 'opts' in load:
|
||||
opts = load['opts']
|
||||
if 'grains' in load['opts']:
|
||||
|
Loading…
Reference in New Issue
Block a user