mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Lint + logic error.
This commit is contained in:
parent
92d712a54b
commit
7bcc275dce
@ -113,7 +113,7 @@ def package_install(name, **kwargs):
|
||||
'''
|
||||
cmd = 'pkg_install ' + name
|
||||
if 'version' in kwargs:
|
||||
pkg_install += kwargs['version']
|
||||
cmd += ' ' + kwargs['version']
|
||||
|
||||
# Send the command to execute
|
||||
out, err = DETAILS['server'].sendline(cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user