1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/29532deaf240/ changeset: 29532deaf240 user: greg date: 2012-10-24 19:59:39 summary: Fix for viewing README files contained in tool shed repositories. affected #: 2 files diff -r 124ac431a5dc96087fc95fd4e1985033e20ba13f -r 29532deaf240a8df6ac1c904d009fe5d23696020 lib/galaxy/webapps/community/controllers/repository.py --- a/lib/galaxy/webapps/community/controllers/repository.py +++ b/lib/galaxy/webapps/community/controllers/repository.py @@ -13,7 +13,7 @@ from galaxy.util.shed_util import get_repository_file_contents, get_repository_metadata_by_changeset_revision, handle_sample_files_and_load_tool_from_disk from galaxy.util.shed_util import handle_sample_files_and_load_tool_from_tmp_config, INITIAL_CHANGELOG_HASH, load_tool_from_config, NOT_TOOL_CONFIGS from galaxy.util.shed_util import open_repository_files_folder, reversed_lower_upper_bounded_changelog, reversed_upper_bounded_changelog, strip_path -from galaxy.util.shed_util import to_html_escaped, translate_string, update_repository, url_join +from galaxy.util.shed_util import to_html_escaped, update_repository, url_join from galaxy.tool_shed.encoding_util import * from common import * diff -r 124ac431a5dc96087fc95fd4e1985033e20ba13f -r 29532deaf240a8df6ac1c904d009fe5d23696020 lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py --- a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py @@ -1443,7 +1443,7 @@ response = urllib2.urlopen( url ) raw_text = response.read() response.close() - readme_text = translate_string( raw_text, to_html=True ) + readme_text = raw_text else: readme_text = '' return trans.fill_template( '/admin/tool_shed_repository/reselect_tool_panel_section.mako', @@ -1768,7 +1768,7 @@ f = open( readme_filename, 'r' ) raw_text = f.read() f.close() - readme_text = translate_string( raw_text, to_html=True ) + readme_text = raw_text except Exception, e: log.debug( "Error attempting to read README file '%s' defined in metadata for repository '%s', revision '%s': %s" % \ ( str( readme_filename ), str( repository.name ), str( repository.changeset_revision ), str( e ) ) ) 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.