extras-buildsys/builder builder.py, 1.44.2.8.2.1.2.2, 1.44.2.8.2.1.2.3

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Jan 31 14:20:13 UTC 2008


Author: mschwendt

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

Modified Files:
      Tag: Plague-0_4_5
	builder.py 
Log Message:
plague-0.4.4.1-filedownloader.patch 
plague-0.4.4.1-faster-downloads.patch 




Index: builder.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/builder/Attic/builder.py,v
retrieving revision 1.44.2.8.2.1.2.2
retrieving revision 1.44.2.8.2.1.2.3
diff -u -r1.44.2.8.2.1.2.2 -r1.44.2.8.2.1.2.3
--- builder.py	31 Jan 2008 14:06:58 -0000	1.44.2.8.2.1.2.2
+++ builder.py	31 Jan 2008 14:19:43 -0000	1.44.2.8.2.1.2.3
@@ -169,7 +169,7 @@
                 sys.stdout.write(s + string)
                 sys.stdout.flush()
 
-    def dl_callback(self, dl_status, cb_data):
+    def dl_callback(self, dl_status, cb_data, err_msg):
         url = cb_data
         if dl_status == 'done':
             self._status = 'downloaded'
@@ -187,7 +187,7 @@
             else:
                 # retry the download
                 self._status = 'init'
-                self._log("ERROR: Failed to retrieve %s on attempt %d.  Trying again...\n" % (url, self._srpm_tries))
+                self._log("ERROR: Failed to retrieve %s on attempt %d (%s).  Trying again...\n" % (url, self._srpm_tries, err_msg))
 
     def _copy_mock_output_to_log(self):
         if self._mock_log and os.path.exists(self._mock_log):




More information about the fedora-extras-commits mailing list