Created attachment 1116582 [details] Traceback Description of problem: When running/importing /usr/share/rhn/up2date_client/clientCaps.py , traceback occurs (attached). Version-Release number of selected component (if applicable): rhn-client-tools-2.5.9-1 How reproducible: 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 Actual results: Traceback Expected results: No traceback
The traceback is caused parsing empty line in configure file /etc/sysconfig/rhn/clientCaps.d/configfiles I created pull request https://github.com/spacewalkproject/spacewalk/pull/343/
spacewalk.github: deb2e81a2c25cc3d7d6a49985f3962b5bb68288d
Spacewalk 2.5 was released.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.