extras-buildsys/common AuthedXMLRPCServer.py,1.9,1.10
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Sun Feb 26 17:12:01 UTC 2006
Author: dcbw
Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30954/common
Modified Files:
AuthedXMLRPCServer.py
Log Message:
Trap and print socket & SSL errors
Index: AuthedXMLRPCServer.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/AuthedXMLRPCServer.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AuthedXMLRPCServer.py 1 Dec 2005 03:20:59 -0000 1.9
+++ AuthedXMLRPCServer.py 26 Feb 2006 17:11:34 -0000 1.10
@@ -23,6 +23,7 @@
import SimpleXMLRPCServer
import SSLCommon
import threading
+import OpenSSL
@@ -62,6 +63,8 @@
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.do_POST(self)
except socket.timeout:
pass
+ except (socket.error, OpenSSL.SSL.SysCallError), e:
+ print "Error (%s): socket error - '%s'" % (self.client_address, e)
_del_authinfo()
More information about the scm-commits
mailing list