[Xfce4-commits] <xfce-buildbot-scripts:master> Display the build platform in the build details

Enrico Tröger noreply at xfce.org
Sun Oct 11 21:38:02 CEST 2009


Updating branch refs/heads/master
         to 091dedc7629ed5f1a34cd2e535fd56e137eeb53d (commit)
       from 7bb2bafaa8b2de99b705bb774f8af5af7676e83f (commit)

commit 091dedc7629ed5f1a34cd2e535fd56e137eeb53d
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date:   Sun Oct 11 21:32:14 2009 +0200

    Display the build platform in the build details

 xfcebuildstatus.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/xfcebuildstatus.py b/xfcebuildstatus.py
index 66e2589..63a8c00 100644
--- a/xfcebuildstatus.py
+++ b/xfcebuildstatus.py
@@ -451,6 +451,13 @@ def get_detail_status_html(html, url, input):
         html.add_element('span', 'Build reason:', attribs={'class':'item'})
         html.add_cdata(' %s' % input['reason'])
         html.close_tag('p')
+        try:
+            platform_str = PLATFORM_NAMES[platform]
+            html.add_element('span', 'Build platform:', attribs={'class':'item'})
+            html.add_cdata(' %s' % platform_str)
+            html.close_tag('p')
+        except KeyError:
+            pass
         html.open_tag('p')
         html.add_element('span', 'Build revision:', attribs={'class':'item'})
         html.add_cdata(' %s' % input['revision'])



More information about the Xfce4-commits mailing list