--- func/minion/modules/yumcmd.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/func/minion/modules/yumcmd.py b/func/minion/modules/yumcmd.py index 17d8fcb..1b96fdb 100644 --- a/func/minion/modules/yumcmd.py +++ b/func/minion/modules/yumcmd.py @@ -32,9 +32,9 @@ class Yum(func_module.FuncModule): try: ayum.doLock() if pkg in [None, '']: - tx_result = ayum.update(pattern=pkg) - else: tx_result = ayum.update() + else: + tx_result = ayum.update(pattern=pkg) ayum.buildTransaction() ayum.processTransaction( -- 1.6.6.1 _______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list