mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
modules.lxc: str -> basestr
This commit is contained in:
parent
1245cb449a
commit
81aaf6715e
@ -2080,7 +2080,7 @@ def run_cmd(name, cmd, no_start=False, preserve_state=True,
|
||||
if not prior_state:
|
||||
return prior_state
|
||||
if attachable(name):
|
||||
if isinstance(keep_env, str):
|
||||
if isinstance(keep_env, basestring):
|
||||
keep_env = keep_env.split(',')
|
||||
if keep_env:
|
||||
env = ' '.join('{0}=${0}'.format(x) for x in keep_env)
|
||||
|
Loading…
Reference in New Issue
Block a user