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

Fixed Issue #3193 - make rhn_register module compatible with EL 5
pull/3021/merge
Michael DeHaan 11 years ago
commit 4849539399

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

Loading…
Cancel
Save