This commit is contained in:
Edgars M. 2013-06-13 15:17:35 +03:00
parent 39aa5e5eac
commit 46ad4299a8

View file

@ -181,7 +181,7 @@ class Rhn(RegistrationBase):
Returns: str Returns: str
''' '''
url = urlparse.urlparse(self.config['serverURL']) url = urlparse.urlparse(self.config['serverURL'])
return url.netloc.replace('xmlrpc.','') return url[1].replace('xmlrpc.','')
@property @property
def systemid(self): def systemid(self):