Bug 503904 - using index 2 in "if len(pieces) >= 2:" block
using index 2 in "if len(pieces) >= 2:" block
Status: CLOSED DUPLICATE of bug 481053
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhn-client-tools (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Pradeep Kilambi
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2009-06-03 05:56 EDT by Jan Hutař
Modified: 2009-06-03 06:25 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-03 06:25:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2009-06-03 05:56:52 EDT
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):

How reproducible:

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

Actual results:

Expected results:
no traceback
Comment 1 Jan Hutař 2009-06-03 06:25:49 EDT

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