This commit is contained in:
Edgars M 2013-06-13 15:17:35 +03:00
parent 3c6d5f95f8
commit e537232c63

View file

@ -181,7 +181,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):