git.samba.org
/
build-farm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8919640
)
Fix use of plain_logs.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 4 Dec 2010 02:11:24 +0000
(
03:11
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 4 Dec 2010 02:11:24 +0000
(
03:11
+0100)
buildfarm/web/__init__.py
patch
|
blob
|
history
diff --git
a/buildfarm/web/__init__.py
b/buildfarm/web/__init__.py
index d9f3d6cd1c346a8e5c52215f10fc959d75a9aa4c..7d65bf458e87e74282fb672ea20aa48212ae99cd 100755
(executable)
--- a/
buildfarm/web/__init__.py
+++ b/
buildfarm/web/__init__.py
@@
-955,6
+955,7
@@
class BuildFarmApp(object):
build_checksum = wsgiref.util.shift_path_info(environ)
build = self.buildfarm.builds.get_by_checksum(build_checksum)
page = ViewBuildPage(self.buildfarm)
+ plain_logs = (get_param(form, "plain") is not None and get_param(form, "plain").lower() in ("yes", "1", "on", "true", "y"))
yield "".join(page.render(myself, build, plain_logs))
elif fn == "":
page = ViewSummaryPage(self.buildfarm)