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

Fixed Issue #3193 - make rhn_register module compatible with EL 5
This commit is contained in:
Michael DeHaan 2013-06-16 19:17:05 -07:00
commit 4849539399

View file

@ -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):