Bug 450740

Summary: pykickstart returnClassForVersion() returning BaseHandler
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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: ---

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.