commit/galaxy-central: dan: Use to_html_string on failed tests tracebacks and stderr
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/44214ff2a880/ Changeset: 44214ff2a880 User: dan Date: 2013-09-16 17:12:26 Summary: Use to_html_string on failed tests tracebacks and stderr Affected #: 1 file diff -r b65602624e257d96d90fe94de13b483fd70d2f7e -r 44214ff2a8801dea8714b6cfc7f2d7bd6545e229 templates/webapps/tool_shed/repository/common.mako --- a/templates/webapps/tool_shed/repository/common.mako +++ b/templates/webapps/tool_shed/repository/common.mako @@ -439,7 +439,10 @@ </%def><%def name="render_failed_test( failed_test, pad, parent, row_counter, row_is_header=False )"> - <% encoded_id = trans.security.encode_id( failed_test.id ) %> + <% + from tool_shed.util.shed_util_common import to_html_string + encoded_id = trans.security.encode_id( failed_test.id ) + %><tr class="datasetRow" %if parent is not None: parent="${parent}" @@ -450,8 +453,8 @@ <tr><td bgcolor="#FFFFCC"><b>Tool id:</b> ${failed_test.tool_id | h}</td></tr><tr><td><b>Tool version:</b> ${failed_test.tool_id | h}</td></tr><tr><td><b>Test:</b> ${failed_test.test_id | h}</td></tr> - <tr><td><b>Stderr:</b><br/>${failed_test.stderr | h}</td></tr> - <tr><td><b>Traceback:</b><br/>${failed_test.traceback | h}</td></tr> + <tr><td><b>Stderr:</b><br/>${ to_html_string( failed_test.stderr ) }</td></tr> + <tr><td><b>Traceback:</b><br/>${ to_html_string( failed_test.traceback ) }</td></tr></table></td></tr> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org