typo fix in oneliners

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
reviewable/pr18780/r1
Igor Gnatenko 10 years ago
parent c798019c73
commit 5d99dcfe4f

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

Loading…
Cancel
Save