mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Lint
This commit is contained in:
parent
38008b1102
commit
12d511f323
@ -2,6 +2,7 @@
|
||||
'''
|
||||
Manage the Thorium complex event reaction system
|
||||
'''
|
||||
from __future__ import absolute_import
|
||||
|
||||
# Import salt libs
|
||||
import salt.thorium
|
||||
|
@ -25,5 +25,5 @@ def save(name):
|
||||
if not os.isdir(tgt_dir):
|
||||
os.makedirs(tgt_dir)
|
||||
with salt.utils.fopen(fn_, 'w+') as fp_:
|
||||
fp_.write(json.dump(__reg__))
|
||||
fp_.write(json.dumps(__reg__))
|
||||
return ret
|
||||
|
@ -16,7 +16,7 @@ def cmd(
|
||||
arg=(),
|
||||
tgt_type='glob',
|
||||
ret='',
|
||||
kwargs=None,
|
||||
kwarg=None,
|
||||
**kwargs):
|
||||
'''
|
||||
Execute a remote execution command
|
||||
|
Loading…
Reference in New Issue
Block a user