From 46ad4299a88d83a45053e6db3207e750701606b5 Mon Sep 17 00:00:00 2001 From: "Edgars M." Date: Thu, 13 Jun 2013 15:17:35 +0300 Subject: [PATCH] Fixed Issue #3193 --- library/packaging/rhn_register | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/packaging/rhn_register b/library/packaging/rhn_register index ae01607748c..87e0ef78f1e 100644 --- a/library/packaging/rhn_register +++ b/library/packaging/rhn_register @@ -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):