typo fix in oneliners

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/18777/head
Igor Gnatenko 10 years ago committed by Matt Clay
parent a1235d91a2
commit e178abb501

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

Loading…
Cancel
Save