Commit 48495393 by Michael DeHaan

Merge pull request #3194 from E-M/patch-2

Fixed Issue #3193 - make rhn_register module compatible with EL 5
parents 78fdedd4 46ad4299
......@@ -190,7 +190,7 @@ class Rhn(RegistrationBase):
Returns: str
'''
url = urlparse.urlparse(self.config['serverURL'])
return url.netloc.replace('xmlrpc.','')
return url[1].replace('xmlrpc.','')
@property
def systemid(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment