We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rhn_register module is incompatible with Python 2.4 (which is shipped with RHEL5). In particular line 184:
return url.netloc.replace('xmlrpc.','')
Python 2.4.x does not support tuple attributes.
Here is the example on system with Python 2.4.3:
>>> url = urlparse.urlparse('https://xmlrpc.rhn.redhat.com/XMLRPC') >>> print url ('https', 'xmlrpc.rhn.redhat.com', '/XMLRPC', '', '', '') >>> print url.netloc.replace('xmlrpc.','') Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'tuple' object has no attribute 'netloc'
And here is the same example on system with Python 2.7.3
>>> url=urlparse.urlparse('https://xmlrpc.rhn.redhat.com/XMLRPC') >>> print url ParseResult(scheme='https', netloc='xmlrpc.rhn.redhat.com', path='/XMLRPC', params='', query='', fragment='') >>> print url.netloc.replace('xmlrpc.','') rhn.redhat.com
The text was updated successfully, but these errors were encountered:
Fixed in PR#3194
Sorry, something went wrong.
Fixed Issue #3193
46ad429
Merge pull request #3194 from E-M/patch-2
4849539
Fixed Issue #3193 - make rhn_register module compatible with EL 5
No branches or pull requests
rhn_register module is incompatible with Python 2.4 (which is shipped with RHEL5). In particular line 184:
Python 2.4.x does not support tuple attributes.
Here is the example on system with Python 2.4.3:
And here is the same example on system with Python 2.7.3
The text was updated successfully, but these errors were encountered: