[Buildbot-commits] buildbot/buildbot/changes bonsaipoller.py, 1.1, 1.2

Brian Warner warner at users.sourceforge.net
Sat Sep 30 20:20:37 UTC 2006


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

Modified Files:
	bonsaipoller.py 
Log Message:
[project @ bonsaipoller: more updates from Robert Helmer]

Original author: warner at lothar.com
Date: 2006-09-30 20:19:58

Index: bonsaipoller.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/bonsaipoller.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bonsaipoller.py	25 Sep 2006 07:21:02 -0000	1.1
+++ bonsaipoller.py	30 Sep 2006 20:20:35 -0000	1.2
@@ -130,7 +130,7 @@
         return str(self.currentFileNode.firstChild.data)
 
     def _getRevision(self):
-        return float(self.currentFileNode.getAttribute("rev"))
+        return str(self.currentFileNode.getAttribute("rev"))
 
 
 
@@ -238,7 +238,7 @@
         data = bp.getData()
         for cinode in data.nodes:
             for file in cinode.files:
-                files.append(file)
+                files.append(file.filename+' (revision '+file.revision+')')
             c = changes.Change(who = cinode.who,
                                files = files,
                                comments = cinode.log,





More information about the Commits mailing list