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

extras-buildsys/client buildclient.py,1.3,1.4



Author: dcbw

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

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

    * client/buildclient.py
        - Fix up some log messages to be shorter




Index: buildclient.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/buildclient.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- buildclient.py	9 Jun 2005 01:57:35 -0000	1.3
+++ buildclient.py	9 Jun 2005 18:14:26 -0000	1.4
@@ -101,13 +101,13 @@
         url = cb_data
         if status == 'done':
             self._status = 'downloaded'
-            log("%s: Finished downloading %s" % (self._uniqid, url))
+            log("%s: Retrieved %s" % (self._uniqid, url))
         elif status == 'failed':
             # Don't overwrite our status with 'failed' if we were cancelled
             # and a download error ocurred
             if not self.is_done_status():
                 self._status = 'failed'
-                log("%s: Failed to download %s" % (self._uniqid, url))
+                log("%s: Failed to retrieve %s" % (self._uniqid, url))
 
     def _build(self):
         print "%s: starting step 'building'" % self._uniqid
@@ -265,7 +265,8 @@
         if bcp != None:
             self.ids[uniqid] = bcp
             bcp.start()
-            log("%s: started %s on %s arch %s at time %d" % (uniqid, srpm_url,
+            filename = os.path.basename(srpm_url)
+            log("%s: started %s on %s arch %s at time %d" % (uniqid, filename,
                         target, buildarch, cur_time))
         else:
             log("%s: Failed request for %s on %s UNSUPPORTED arch %s at time %d" %


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