typo fix in oneliners

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-05-22 23:11:13 +03:00
parent c798019c73
commit 5d99dcfe4f

View file

@ -219,8 +219,8 @@ def ensure(module, state, pkgspec, conf_file, enablerepo, disablerepo, disable_g
else:
my.download_packages(my.transaction.install_set)
my.do_transaction()
[res['results'].append('Installed: %s' % pkg) for pkg in my.transaction.install_set)
[res['results'].append('Removed: %s' % pkg) for pkg in my.transaction.remove_set)
[res['results'].append('Installed: %s' % pkg) for pkg in my.transaction.install_set]
[res['results'].append('Removed: %s' % pkg) for pkg in my.transaction.remove_set]
module.exit_json(**res)