summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorAlex Wood <awood@redhat.com>2008-07-28 15:20:03 -0400
committerAlex Wood <awood@redhat.com>2008-07-28 15:20:03 -0400
commitb4c047fc81929902b3e7c7d4870a4004ab697b1b (patch)
treefce1efa7dc60e7fe887157e4242f601718b5105e /func
parent8f258ef2172ea299beb8fe0e2639fa84f9fff960 (diff)
Modifying the update command to use a pattern rather than a name.
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/yumcmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/minion/modules/yumcmd.py b/func/minion/modules/yumcmd.py
index 0048fc6..ad92ee5 100644
--- a/func/minion/modules/yumcmd.py
+++ b/func/minion/modules/yumcmd.py
@@ -32,7 +32,7 @@ class Yum(func_module.FuncModule):
try:
ayum.doLock()
if pkg != None:
- tx_result = ayum.update(name=pkg)
+ tx_result = ayum.update(pattern=pkg)
else:
tx_result = ayum.update()
ayum.buildTransaction()