Bug 222947 - Deprecation Warning when using kernel-module plugin
Summary: Deprecation Warning when using kernel-module plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-16 22:52 UTC by Heiko Adams
Modified: 2014-01-21 22:56 UTC (History)
1 user (show)

Fixed In Version: 1.0.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-10 15:55:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Heiko Adams 2007-01-16 22:52:46 UTC
Description of problem:
When using the kernel-module plugin for yum the following Deprecation Warning is
throwed:

/usr/lib/yum-plugins/kernel-module.py:61: DeprecationWarning: getHdrList() will
go away in a future version of Yum.

  for hdr in conduit.getRpmDB().getHdrList():

Version-Release number of selected component (if applicable):
yum-kernel-module-1.0.1-1.fc6

How reproducible:
allway

Steps to Reproduce:
1. Install the yum-kernel-module package
2. Start an update with yum
  
Actual results:
A Deprecation Warning is displayed

Expected results:
No warning should be displayed

Additional info:
I couldn't find an bugzilla component so filed this bug for the main package

Comment 1 Jeremy Katz 2007-01-16 23:02:59 UTC
This is a bug in the plugin; it needs to be updated to use the new APIs

Comment 2 Panu Matilainen 2007-02-14 15:15:39 UTC
Right, most of the deprecation warnings have been fixed in yum-utils 1.0.1/1.0.2
but this has gone unnoticed. Will fix...

Comment 3 Panu Matilainen 2007-02-19 15:28:04 UTC
Fixed in CVS, unfortunately it didn't quite make it to yum-utils-1.0.3 release.


Note You need to log in before you can comment on or make changes to this bug.