Bug 503904

Summary: using index 2 in "if len(pieces) >= 2:" block
Product: Red Hat Enterprise Linux 5 Reporter: Jan Hutař <jhutar>
Component: rhn-client-toolsAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: lihuang, rbiba
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-03 10:25:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Hutař 2009-06-03 09:56:52 UTC
Description of problem:
During registering the system to the RHN Satellite, lihuang experienced traceack and rbiba discovered code causing it:

In /usr/share/rhn/up2date_client/rhnserver.py there is:
            if len(pieces) >= 2:
                message = pieces[2].strip(" '")


Version-Release number of selected component (if applicable):
rhn-client-tools-0.4.19-17.el5.noarch


How reproducible:
always


Steps to Reproduce:
1. run into the code branch above


Actual results:
traceback


Expected results:
no traceback

Comment 1 Jan Hutař 2009-06-03 10:25:49 UTC

*** This bug has been marked as a duplicate of bug 481053 ***