Fixed Issue #3193 - make rhn_register module compatible with EL 5
@ -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):