Lint + logic error.

This commit is contained in:
C. R. Oldham 2015-10-28 16:51:02 -06:00
parent 92d712a54b
commit 7bcc275dce

View File

@ -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)