1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/31616ab57a24/ Changeset: 31616ab57a24 User: dan Date: 2013-05-15 20:50:19 Summary: Unicode fixes for toolshed repositories. Affected #: 3 files diff -r a3e1fb22f5b5afcb776399d8a499e62c795f8279 -r 31616ab57a240c155ac2d5e1272bba28731552be lib/tool_shed/util/shed_util_common.py --- a/lib/tool_shed/util/shed_util_common.py +++ b/lib/tool_shed/util/shed_util_common.py @@ -690,7 +690,7 @@ contents = [] for item in os.listdir( folder_path ): # Skip .hg directories - if str( item ).startswith( '.hg' ): + if item.startswith( '.hg' ): continue if os.path.isdir( os.path.join( folder_path, item ) ): # Append a '/' character so that our jquery dynatree will function properly. diff -r a3e1fb22f5b5afcb776399d8a499e62c795f8279 -r 31616ab57a240c155ac2d5e1272bba28731552be templates/webapps/tool_shed/repository/view_changelog.mako --- a/templates/webapps/tool_shed/repository/view_changelog.mako +++ b/templates/webapps/tool_shed/repository/view_changelog.mako @@ -88,7 +88,7 @@ %endif <div class="form-row"><label>Description:</label> - <a href="${h.url_for( controller='repository', action='view_changeset', id=trans.security.encode_id( repository.id ), ctx_str=ctx_str )}">${changeset[ 'description' ] | h}</a> + <a href="${h.url_for( controller='repository', action='view_changeset', id=trans.security.encode_id( repository.id ), ctx_str=ctx_str )}">${ util.unicodify( changeset[ 'description' ] ) | h}</a></div><div class="form-row"><label>Commit:</label> diff -r a3e1fb22f5b5afcb776399d8a499e62c795f8279 -r 31616ab57a240c155ac2d5e1272bba28731552be templates/webapps/tool_shed/repository/view_changeset.mako --- a/templates/webapps/tool_shed/repository/view_changeset.mako +++ b/templates/webapps/tool_shed/repository/view_changeset.mako @@ -74,7 +74,7 @@ <tr><td><b>Commit message:</b> - <br/>${ctx.description() | h}<br/> + <br/>${ util.unicodify( ctx.description() ) | h}<br/></td></tr> %if modified: @@ -82,7 +82,7 @@ <td><b>modified:</b> %for item in modified: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -92,7 +92,7 @@ <td><b>added:</b> %for item in added: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -102,7 +102,7 @@ <td><b>removed:</b> %for item in removed: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -112,7 +112,7 @@ <td><b>deleted:</b> %for item in deleted: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -122,7 +122,7 @@ <td><b>unknown:</b> %for item in unknown: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor }</td></tr> @@ -132,7 +132,7 @@ <td><b>ignored:</b> %for item in ignored: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -142,7 +142,7 @@ <td> clean: %for item in clean: - <br/><a href="#${item}">${item | h}</a> + <br/><a href="#${ util.unicodify( item ) }">${ util.unicodify( item ) | h}</a> %endfor </td></tr> @@ -162,8 +162,8 @@ break ctr += 1 %> - <tr><td bgcolor="#E0E0E0">${anchor_str}</td></tr> - <tr><td>${diff}</td></tr> + <tr><td bgcolor="#E0E0E0">${ util.unicodify( anchor_str ) }</td></tr> + <tr><td>${ util.unicodify( diff ) }</td></tr> %endfor </table></div> 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.