Red Hat Bugzilla – Bug 1300251
clientCaps.py : IndexError: string index out of range
Last modified: 2017-09-28 14:08:49 EDT
Created attachment 1116582 [details]
Description of problem:
When running/importing /usr/share/rhn/up2date_client/clientCaps.py , traceback occurs (attached).
Version-Release number of selected component (if applicable):
With a file with empty line in /etc/sysconfig/rhn/clientCaps.d/
Steps to Reproduce:
1. echo -e 'a\n\nb\n' > /etc/sysconfig/rhn/clientCaps.d/filename
2. from up2date_client import clientCaps
The traceback is caused parsing empty line in configure file /etc/sysconfig/rhn/clientCaps.d/configfiles
I created pull request
Spacewalk 2.5 was released.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.