Bug 109285 - RedHat is hardcoded in a couple of python scripts - should now be Fedora
RedHat is hardcoded in a couple of python scripts - should now be Fedora
Product: Fedora
Classification: Fedora
Component: comps-extras (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2003-11-06 10:38 EST by Denice
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-17 01:30:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Denice 2003-11-06 10:38:00 EST
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

$ 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
Actual results:

Expected results:

Additional info:
Comment 1 Jeremy Katz 2003-11-06 11:56:48 EST
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.