[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

extras-buildsys/server client_manager.py,1.17,1.18



Author: dcbw

Update of /cvs/fedora/extras-buildsys/server
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6903/server

Modified Files:
	client_manager.py 
Log Message:
2005-06-17  Dan Williams <dcbw redhat com>

    * common/CommonErrors.py
        - Oops, "e" isn't an error, its the data.  Treat it as such.

    * server/client_manager.py
        - Trap more errors in BuildClient._update_cur_job()




Index: client_manager.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/client_manager.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- client_manager.py	19 Jun 2005 04:38:10 -0000	1.17
+++ client_manager.py	20 Jun 2005 16:12:51 -0000	1.18
@@ -248,7 +248,7 @@
                 print "BuildClient(%s): got error '%s' from build client while trying to get " \
                         "current job number" % (self._address, e)
         except SSL.SSLError, e:
-            if e == "unexpected eof":
+            if CommonErrors.canIgnoreSSLError(e):
                 self._unavail_count = self._unavail_count + 1
         except ProtocolError, e:
                 self._unavail_count = self._unavail_count + 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]