[Buildbot-commits] buildbot/buildbot/status/web base.py, 1.16, 1.17 build.py, 1.12, 1.13 xmlrpc.py, 1.1, 1.2
Brian Warner
warner at users.sourceforge.net
Sun Sep 30 18:20:58 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6879/buildbot/status/web
Modified Files:
base.py build.py xmlrpc.py
Log Message:
[project @ web: stringify got_revision before use, SVN still provides an int]
Original author: warner at lothar.com
Date: 2007-09-30 18:20:26+00:00
Index: base.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/base.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- base.py 30 Sep 2007 09:24:03 -0000 1.16
+++ base.py 30 Sep 2007 18:20:56 -0000 1.17
@@ -308,6 +308,7 @@
rev = "??"
except KeyError:
rev = "??"
+ rev = str(rev)
if len(rev) > 20:
rev = "version is too-long"
root = self.path_to_root(req)
Index: build.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/build.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- build.py 28 Sep 2007 09:33:31 -0000 1.12
+++ build.py 30 Sep 2007 18:20:56 -0000 1.13
@@ -90,6 +90,7 @@
except KeyError:
pass
if got_revision:
+ got_revision = str(got_revision)
if len(got_revision) > 40:
got_revision = "[revision string too long]"
data += " <li>Got Revision: %s</li>\n" % got_revision
Index: xmlrpc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/xmlrpc.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xmlrpc.py 12 Aug 2007 18:34:43 -0000 1.1
+++ xmlrpc.py 30 Sep 2007 18:20:56 -0000 1.2
@@ -69,7 +69,7 @@
revision = build.getProperty("got_revision")
except KeyError:
revision = ""
- revision = "fake-rev"
+ revision = str(revision)
answer = (builder_name,
build.getNumber(),
More information about the Commits
mailing list