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

Fixed Issue #3193 - make rhn_register module compatible with EL 5
reviewable/pr18780/r1
Michael DeHaan 12 years ago
commit 275b0d6c4e

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