mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pylint
This commit is contained in:
parent
be18439736
commit
cfa7c0a699
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ class State(object):
|
|||
mod_init function in the state module.
|
||||
'''
|
||||
# ensure that the module is loaded
|
||||
self.states['{0}.{1}'.format(low['state'], low['fun'])]
|
||||
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106
|
||||
minit = '{0}.mod_init'.format(low['state'])
|
||||
if low['state'] not in self.mod_init:
|
||||
if minit in self.states._dict:
|
||||
|
|
Loading…
Add table
Reference in a new issue