commit/galaxy-central: natefoo: Fix displaying the stdout/stderr of a library upload when the stdout/stderr is None
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/d83fa80e8321/ changeset: r5078:d83fa80e8321 user: natefoo date: 2011-02-17 19:57:38 summary: Fix displaying the stdout/stderr of a library upload when the stdout/stderr is None affected #: 1 file (30 bytes) --- a/templates/library/common/ldda_info.mako Thu Feb 17 12:05:39 2011 -0500 +++ b/templates/library/common/ldda_info.mako Thu Feb 17 13:57:38 2011 -0500 @@ -117,14 +117,14 @@ </div> %if ldda.creating_job_associations: <% job = ldda.creating_job_associations[0].job %> - %if job.stdout.strip() != '': + %if job.stdout and job.stdout.strip() != '': <div class="form-row"><label>Job Standard Output</label><pre>${job.stdout}</pre><div style="clear: both"></div></div> %endif - %if job.stderr.strip() != '': + %if job.stderr and job.stderr.strip() != '': <div class="form-row"><label>Job Standard Error</label><pre>${job.stderr}</pre> 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)
-
Bitbucket