mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
removing extra spaces.
This commit is contained in:
parent
f668ccf1f7
commit
e33b5140f6
1 changed files with 0 additions and 7 deletions
|
@ -237,7 +237,6 @@ def high(data, test=False, queue=False, **kwargs):
|
|||
st_ = salt.state.State(__opts__, pillar)
|
||||
|
||||
ret = st_.call_high(data)
|
||||
|
||||
_set_retcode(ret)
|
||||
return ret
|
||||
|
||||
|
@ -278,7 +277,6 @@ def template(tem, queue=False, **kwargs):
|
|||
__context__['retcode'] = 1
|
||||
return errors
|
||||
ret = st_.state.call_high(high_state)
|
||||
|
||||
_set_retcode(ret)
|
||||
return ret
|
||||
|
||||
|
@ -301,7 +299,6 @@ def template_str(tem, queue=False, **kwargs):
|
|||
except NameError:
|
||||
st_ = salt.state.State(__opts__)
|
||||
ret = st_.call_template_str(tem)
|
||||
|
||||
_set_retcode(ret)
|
||||
return ret
|
||||
|
||||
|
@ -583,7 +580,6 @@ def highstate(test=None,
|
|||
|
||||
serial = salt.payload.Serial(__opts__)
|
||||
cache_file = os.path.join(__opts__['cachedir'], 'highstate.p')
|
||||
|
||||
_set_retcode(ret)
|
||||
# Work around Windows multiprocessing bug, set __opts__['test'] back to
|
||||
# value from before this function was run.
|
||||
|
@ -777,7 +773,6 @@ def sls(mods,
|
|||
except (IOError, OSError):
|
||||
msg = 'Unable to write to SLS cache file {0}. Check permission.'
|
||||
log.error(msg.format(cache_file))
|
||||
|
||||
_set_retcode(ret)
|
||||
# Work around Windows multiprocessing bug, set __opts__['test'] back to
|
||||
# value from before this function was run.
|
||||
|
@ -849,7 +844,6 @@ def top(topfn,
|
|||
)
|
||||
finally:
|
||||
st_.pop_active()
|
||||
|
||||
_set_retcode(ret)
|
||||
# Work around Windows multiprocessing bug, set __opts__['test'] back to
|
||||
# value from before this function was run.
|
||||
|
@ -1173,7 +1167,6 @@ def single(fun, name, test=None, queue=False, **kwargs):
|
|||
st_._mod_init(kwargs)
|
||||
ret = {'{0[state]}_|-{0[__id__]}_|-{0[name]}_|-{0[fun]}'.format(kwargs):
|
||||
st_.call(kwargs)}
|
||||
|
||||
_set_retcode(ret)
|
||||
# Work around Windows multiprocessing bug, set __opts__['test'] back to
|
||||
# value from before this function was run.
|
||||
|
|
Loading…
Add table
Reference in a new issue