proxy/proxy/rhnAuthCacheClient.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit bb95c36bd8959915229edf3fccb0b393088a1017
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Nov 30 17:02:32 2010 +0100
import Fault from different class
object Fault has been previously imported by rhnAuthProtocol,
this import has been removed in commit 94addd571f4538d4351e0b436edb6d1a10c087e3
so our import fail
addressing:
[Tue Nov 30 17:58:26 2010] [error] [client 10.34.26.6] PythonCleanupHandler
proxy.apacheServer::CleanupHandler: File
"/usr/share/rhn/proxy/rhnAuthCacheClient.py", line 28, in ?\n from
rhnAuthProtocol import CommunicationError, Fault, send, recv
[Tue Nov 30 17:58:26 2010] [error] [client 10.34.26.6] PythonCleanupHandler
proxy.apacheServer::CleanupHandler: ImportError: cannot import name Fault
diff --git a/proxy/proxy/rhnAuthCacheClient.py b/proxy/proxy/rhnAuthCacheClient.py
index d9feb6d..df20cc5 100644
--- a/proxy/proxy/rhnAuthCacheClient.py
+++ b/proxy/proxy/rhnAuthCacheClient.py
@@ -25,7 +25,8 @@ import socket
## local imports
from spacewalk.common import log_debug, log_error, Traceback, rhnFault
from spacewalk.common.rhnTranslate import _
-from rhnAuthProtocol import CommunicationError, Fault, send, recv
+from rhnAuthProtocol import CommunicationError, send, recv
+from xxmlrpclib import Fault
#
# Protocol description:
Show replies by thread