Bug 109285 - RedHat is hardcoded in a couple of python scripts - should now be Fedora
Summary: RedHat is hardcoded in a couple of python scripts - should now be Fedora
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: comps-extras
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-06 15:38 UTC by Denice
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-10-17 05:30:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Denice 2003-11-06 15:38:00 UTC
Description of problem:
getfullcomps.py and getnotincomps.py have 'RedHat' hardcoded into
their paths - it should now hardcoded as 'Fedora', or set via an option.

$ pwd
/usr/share/comps-extras

$ grep RedHat *
getfullcomps.py:    hdlist =
rpm.readHeaderListFromFile("%s/%s/RedHat/base/hdlist" % (path, arch))
getfullcomps.py:    fd = os.open("%s/%s/RedHat/base/hdlist2" % (path,
arch), os.O_RDONLY)
getfullcomps.py:    compslist = comps.Comps("%s/%s/RedHat/base/%s" %
(path, arch, filename))
getnotincomps.py:    basedir = "%s/%s/RedHat/base/" % (treedir, arch)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. n/a
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2003-11-06 16:56:48 UTC
Fixed in next build (can pass Fedora/base as an argument to get it to
use that instead)


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