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

extras-buildsys/server client_manager.py,1.15,1.16



Author: dcbw

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

Modified Files:
	client_manager.py 
Log Message:
More error trapping


Index: client_manager.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/client_manager.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- client_manager.py	19 Jun 2005 04:12:40 -0000	1.15
+++ client_manager.py	19 Jun 2005 04:35:27 -0000	1.16
@@ -88,7 +88,7 @@
             try:
                 result = self._server.status(self.jobid)
             except socket.error, e:
-                if e[0] != 104 and e[0] != 111:
+                if not CommonErrors.canIgnoreSocketError(e):
                     print "%s (%s/%s): [ %s ] Unknown error when getting status: '%s'" % (self.parent_job.uid,
                                 self.parent_job.package, self.arch, self.bci.address(), e)
             self.client_result = result


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