func/minion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 func/minion/modules/rpms.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ac0e77ac12712d8d530a6bb098887cc73b704a5c
Author: Greg Swift <gregswift@xxxxxxxxx>
Date:   Wed Mar 2 21:36:49 2011 -0600

    Added import of yum into rpms module to allow verify to run

diff --git a/func/minion/modules/rpms.py b/func/minion/modules/rpms.py
index b3eb11e..5a7d519 100644
--- a/func/minion/modules/rpms.py
+++ b/func/minion/modules/rpms.py
@@ -48,9 +48,9 @@ class RpmModule(func_module.FuncModule):
         Returns information on the verified package(s).
         """
         results = []
+        import yum
         for rpm in self.glob(pattern, False):
             name = rpm[0]
-
             yb = yum.YumBase()
             pkgs = yb.rpmdb.searchNevra(name)
             for pkg in pkgs:


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux