[Buildbot-commits] buildbot/buildbot/process builder.py,1.45,1.46

Brian Warner warner at users.sourceforge.net
Wed Aug 1 20:31:45 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23657/buildbot/process

Modified Files:
	builder.py 
Log Message:
[project @ pass around SourceStamp instances rather than tuples. Closes #70.]

Original author: warner at lothar.com
Date: 2007-07-31 06:25:40+00:00

Index: builder.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/builder.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- builder.py	3 Jul 2007 02:22:19 -0000	1.45
+++ builder.py	1 Aug 2007 20:31:43 -0000	1.46
@@ -670,9 +670,8 @@
     def resubmitBuild(self, bs, reason="<rebuild, no reason given>"):
         if not bs.isFinished():
             return
-        branch, revision, patch = bs.getSourceStamp()
-        changes = bs.getChanges()
-        ss = sourcestamp.SourceStamp(branch, revision, patch, changes)
+
+        ss = bs.getSourceStamp()
         req = base.BuildRequest(reason, ss, self.original.name)
         self.requestBuild(req)
 





More information about the Commits mailing list