[yum-cvs] yum-utils/plugins/kernel-module kernel-module.py,1.3,1.4

Panu Matilainen pmatilai at linux.duke.edu
Mon Feb 19 15:22:19 UTC 2007


Update of /home/groups/yum/cvs/yum-utils/plugins/kernel-module
In directory login1.linux.duke.edu:/tmp/cvs-serv3143

Modified Files:
	kernel-module.py 
Log Message:
- fix deprecation warning


Index: kernel-module.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/plugins/kernel-module/kernel-module.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- kernel-module.py	10 Jan 2006 16:02:28 -0000	1.3
+++ kernel-module.py	19 Feb 2007 15:22:17 -0000	1.4
@@ -57,10 +57,7 @@
     except AttributeError:
         return
 
-    instpkgs = []
-    for hdr in conduit.getRpmDB().getHdrList():
-        po = YumInstalledPackage(hdr)
-        instpkgs.append(po)
+    instpkgs = conduit.getRpmDB().getPackages()
 
     kmodprovides = []
     for pkg in instpkgs:




More information about the Yum-cvs-commits mailing list