aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorcslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-10-03 11:55:13 -0400
committercslocum <cslocum@d34015c8-bcbb-4646-8ac8-8ba5febf221d>2012-10-03 11:55:13 -0400
commitf34206598b24597a77260db1da0d36cf7c290995 (patch)
tree8bbae68200a00ff0aecf559fc4ea3a05e1b59f02 /scripts
parentfacc392133a8fbe9dc71c8248843f28d1db8d260 (diff)
downloadsteuermann-f34206598b24597a77260db1da0d36cf7c290995.tar.gz
put <br/> in between lines of run log
git-svn-id: https://svn.stsci.edu/svn/ssb/etal/steuermann/trunk@807 d34015c8-bcbb-4646-8ac8-8ba5febf221d
Diffstat (limited to 'scripts')
-rw-r--r--scripts/steuermann_report.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/steuermann_report.cgi b/scripts/steuermann_report.cgi
index f85aa11..59d99ed 100644
--- a/scripts/steuermann_report.cgi
+++ b/scripts/steuermann_report.cgi
@@ -332,7 +332,9 @@ elif action == 'show_run_log':
print 'ERROR - %s does not exist' %log
else:
file = open(log)
- print file.read()
+ lines = file.readlines()
+ for ln in lines:
+ print '%s<br/>' %ln
file.close()
print html_trailer