Bug 450740 - pykickstart returnClassForVersion() returning BaseHandler
pykickstart returnClassForVersion() returning BaseHandler
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pykickstart (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Chris Lumens
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-10 15:06 EDT by James Laska
Modified: 2013-09-02 02:25 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-10 15:45:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James Laska 2008-06-10 15:06:37 EDT
Description of problem:

The latest pykickstart update breaks snake-server pykickstart template generation.

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

pykickstart-1.37-2.fc9

How reproducible:

100%

Steps to Reproduce:

import pykickstart.version
v = pykickstart.version.stringToVersion("RHEL5")
pykickstart.version.returnClassForVersion(v)
<class pykickstart.base.BaseHandler at 0xb7ba547c>
                        ^^^^^^^^^^^
  
Actual results:
<class pykickstart.base.BaseHandler at 0xb7ba547c>

Expected results:
<class pykickstart.base.RHEL5Handler at 0xb7ba547c>

Additional info:

Appears related to some cleanup in version.py (see
http://git.fedorahosted.org/git/?p=pykickstart.git;a=commitdiff;h=1edb76039a3e09657221aa5b8a860030806c9ff2;hp=9b54f031d4b086ee424c8ee3ddb1dd0b6fb3916a)
Comment 1 Chris Lumens 2008-06-10 15:45:15 EDT
Fixed in rawhide and will build a new F9 test update as well.

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