rhn-client-tools/SOURCES/rhn-client-tools-2.10.10-1.0.6.el9-to-rhn-client-tools-2.10.10-1.0.7.el9.patch

20 lines
901 B
Diff

This is to fix OL9 systems to register with ULN. The platform dist no longer available
in OL9 and dist not used in up2dateErrors.py file. The fix is to remove unused dist from
up2dateErrors.py file.
Orabug: 33858443
Signed-off-by: PSM Swamiji <psm.swamiji@oracle.com>
Signed-off-by: Darren Archibald <darren.archibald@oracle.com>
---
diff -ruN rhn-client-tools-2.10.10/src/up2date_client/up2dateErrors.py.orig rhn-client-tools-2.10.10/src/up2date_client/up2dateErrors.py
--- rhn-client-tools-2.10.10/src/up2date_client/up2dateErrors.py.orig 2022-02-22 09:28:17.442866600 +0530
+++ rhn-client-tools-2.10.10/src/up2date_client/up2dateErrors.py 2022-02-22 10:32:09.148452800 +0530
@@ -27,7 +27,6 @@
t.ugettext = t.gettext
_ = t.ugettext
import OpenSSL
-from platform import dist
from rhn.i18n import ustr
from up2date_client import config
from up2date_client import up2dateLog