From 5d99dcfe4f1e77d59b7c4c7441bdde7240a5c665 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 22 May 2015 23:11:13 +0300 Subject: [PATCH] typo fix in oneliners Signed-off-by: Igor Gnatenko --- packaging/os/dnf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/os/dnf.py b/packaging/os/dnf.py index 8fea0ac89a8..60b991f8cd7 100644 --- a/packaging/os/dnf.py +++ b/packaging/os/dnf.py @@ -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)