Bug 503904 - using index 2 in "if len(pieces) >= 2:" block
Summary: using index 2 in "if len(pieces) >= 2:" block
Keywords:
Status: CLOSED DUPLICATE of bug 481053
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhn-client-tools
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Pradeep Kilambi
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-03 09:56 UTC by Jan Hutař
Modified: 2009-06-03 10:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-03 10:25:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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