Bug 864859 - openlmi-software: maintenance hazard due to string lists
Summary: openlmi-software: maintenance hazard due to string lists
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: cura-providers
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Minar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 864846
TreeView+ depends on / blocked
 
Reported: 2012-10-10 10:01 UTC by Florian Weimer
Modified: 2012-11-21 13:51 UTC (History)
3 users (show)

Fixed In Version: openlmi-providers-0.0.15-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-21 13:51:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2012-10-10 10:01:48 UTC
In src/yum/providers/util/common.py, there are explicit lists in YumPackage.parse_arch, YumPackage.parse_license, and YumPackage.parse_group.  This look like a potential source of maintenance problems to me.  For example, the ppc64p7 architecture appears to be missing.

Comment 1 Michal Minar 2012-11-21 13:51:52 UTC
These lists have been removed. String properties providing values directly from rpm database are now used instead.
"src/yum/providers/util/common.py" has been renamed to "src/software/providers/util/common.py".


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