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

extras-buildsys/server BuildJob.py, 1.5, 1.6 client_manager.py, 1.11, 1.12



Author: dcbw

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

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

	* server/client_manager.py
	  server/BuildJob.py
		- Fix name clash of builder_gone




Index: BuildJob.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/BuildJob.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- BuildJob.py	17 Jun 2005 03:10:29 -0000	1.5
+++ BuildJob.py	17 Jun 2005 16:27:08 -0000	1.6
@@ -374,7 +374,7 @@
 
         # Deal with jobs whose build client is no longer responding
         for job in self.sub_jobs.values():
-            if job.builder_gone:
+            if job.is_builder_gone():
                 print "%s (%s/%s): Build client disappeared.  Requeuing arch..." % (self.uid, self.package, job.arch)
                 del self.sub_jobs[job.arch]
 


Index: client_manager.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/client_manager.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- client_manager.py	17 Jun 2005 15:41:39 -0000	1.11
+++ client_manager.py	17 Jun 2005 16:27:08 -0000	1.12
@@ -57,7 +57,7 @@
         self.srpm_url = srpm_url
         self._server = server
         self.starttime = None
-        self.builder_gone = False
+        self._builder_gone = False
         self.downloads = {}
 
         failed = False
@@ -178,7 +178,10 @@
 
     def builder_gone(self):
         if self.status != 'done':
-            self.builer_gone = True
+            self._builer_gone = True
+
+    def is_builder_gone(self):
+        return self._builder_gone
 
     def die(self):
         self._server.die(self.jobid)


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