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

extras-buildsys/client buildclient.py,1.9,1.10



Author: dcbw

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

Modified Files:
	buildclient.py 
Log Message:
Print failure message to console when job fails


Index: buildclient.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/buildclient.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- buildclient.py	15 Jun 2005 04:10:02 -0000	1.9
+++ buildclient.py	15 Jun 2005 04:53:24 -0000	1.10
@@ -76,6 +76,7 @@
         if not srpm_filename:
             self._status = 'failed'
             self._srpm_path = None
+            print "%s: failed in __init__, couldn't get SRPM filename." % self._uniqid
         else:
             self._srpm_path = os.path.join(CONFIG.get('client_work_dir'), self._uniqid, "source", srpm_filename)
 
@@ -149,6 +150,7 @@
                     f.writelines(self._pobj.fromchild)
                     f.close()
                     self._status = 'failed'
+                    print "%s: failed due to mock errors" % self._uniqid
                     self._files = self._find_files()
                 else:
                     # builder process still running


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