Bug 450740 - pykickstart returnClassForVersion() returning BaseHandler
Summary: pykickstart returnClassForVersion() returning BaseHandler
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-10 19:06 UTC by James Laska
Modified: 2013-09-02 06:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-10 19:45:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Laska 2008-06-10 19:06:37 UTC
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 19:45:15 UTC
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.