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

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



Author: dcbw

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

Modified Files:
	client_manager.py 
Log Message:
Trap more errors


Index: client_manager.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/client_manager.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- client_manager.py	19 Jun 2005 04:35:27 -0000	1.16
+++ client_manager.py	19 Jun 2005 04:38:10 -0000	1.17
@@ -65,7 +65,7 @@
         try:
             self.jobid = self._server.start(self.target, self.arch, self.srpm_url)
         except socket.error, e:
-            if e[0] != 104 and e[0] != 111:
+            if not CommonErrors.canIgnoreSocketError(e):
                 print "Error starting job on host %s\n\t---error: %s" % (self.bci.address(), e)
             failed = True
 


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