[prev in list] [next in list] [prev in thread] [next in thread]
List: spacewalk-commits
Subject: proxy/proxy
From: msuchy () fedoraproject ! org (=?utf-8?q?Miroslav_Such=C3=BD?=)
Date: 2010-11-30 16:05:26
Message-ID: 20101130160526.A3AA5120279 () lists ! fedorahosted ! org
[Download RAW message or body]
proxy/proxy/rhnAuthCacheClient.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit bb95c36bd8959915229edf3fccb0b393088a1017
Author: Miroslav Such?? <msuchy at 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:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic