Custom Search
|
|
[PATCH] - func/minion/modules/yumcmd.py: should do a ayum.update() when yumcmd update called without pattern. Just swapped the tx_result inside the if control | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
---
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
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]