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

extras-buildsys/server client_manager.py,1.10,1.11



Author: dcbw

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

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

	* utils/repoconv.py
		- Converts between flat directories of RPMs, and the buildserver repo
			format of <repo>/name/v-r/arch/package

	* server/client_manager.py
		- Accept error 61 (connection refused) and increment unavailable_count
			when we get it




Index: client_manager.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/client_manager.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- client_manager.py	15 Jun 2005 05:13:59 -0000	1.10
+++ client_manager.py	17 Jun 2005 15:41:39 -0000	1.11
@@ -238,7 +238,7 @@
             cur_job = self._server.get_cur_job()
         except socket.error, e:
             # Check for "Connection refused" or "Connection reset by peer"
-            if e[0] == 111 or e[0] == 104:
+            if e[0] == 111 or e[0] == 104 or e[0] == 61:
                 self._unavail_count = self._unavail_count + 1
             else:
                 print "BuildClient(%s): got error '%s' from build client while trying to get " \


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