[jhbuild] [buildbot] support getting more than one module set
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [jhbuild] [buildbot] support getting more than one module set
- Date: Fri, 27 Nov 2009 15:12:39 +0000 (UTC)
commit 0bfcc7f300c8fc3a7d7cb067ee688f8b07e074ca
Author: Frédéric Péters <fpeters 0d be>
Date: Fri Nov 27 16:12:04 2009 +0100
[buildbot] support getting more than one module set
jhbuild/buildbot/status/web/__init__.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/buildbot/status/web/__init__.py b/jhbuild/buildbot/status/web/__init__.py
index 846304f..9ad5f3e 100644
--- a/jhbuild/buildbot/status/web/__init__.py
+++ b/jhbuild/buildbot/status/web/__init__.py
@@ -78,7 +78,11 @@ class ProjectsSummary(HtmlResource):
if not slave in slave_status:
slave_status[slave] = ('idle', None)
- result += '<thead><tr><td> </td><td> </td><th>' + parent.moduleset + '</td>'
+ if type(parent.moduleset) is list:
+ moduleset = ', '.join(parent.moduleset)
+ else:
+ moduleset = parent.moduleset
+ result += '<thead><tr><td> </td><td> </td><th>' + moduleset + '</td>'
for name in parent.slaves:
if len(name) > 25:
name = name[:25] + '(...)'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]