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

extras-buildsys/server BuildJob.py, 1.13, 1.14 UserInterface.py, 1.13, 1.14



Author: dcbw

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

Modified Files:
	BuildJob.py UserInterface.py 
Log Message:
Misc packaging and traceback fixes, notify user if we can't find arches to build on


Index: BuildJob.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/BuildJob.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- BuildJob.py	29 Jun 2005 20:27:17 -0000	1.13
+++ BuildJob.py	29 Jun 2005 21:32:33 -0000	1.14
@@ -337,6 +337,9 @@
         del ts
 
         if len(self.buildarches) == 0:
+            subj = 'Prep Error: %s on %s' % (self.cvs_tag, self.target)
+            msg = "could not find any architectures to build for %s - output was:\n" % (self.cvs_tag)
+            self.email_result(resultstring=msg, subject=subj)
             self.failed = True
             self._set_cur_stage('finished')
             return


Index: UserInterface.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/UserInterface.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- UserInterface.py	29 Jun 2005 20:27:17 -0000	1.13
+++ UserInterface.py	29 Jun 2005 21:32:33 -0000	1.14
@@ -165,13 +165,13 @@
 
 
     def update_clients(self):
-        reload(CONFIG)
+        execfile("/etc/plague/server/CONFIG.py")
         client_list = self._cm.update_clients()
         return (0, "Success.", client_list)
 
 
     def list_clients(self):
-        reload(CONFIG)
+        execfile("/etc/plague/server/CONFIG.py")
         client_list = self._cm.list_clients()
         return (0, "Success.", client_list)
 


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