commit/galaxy-central: Dave Bouvier: Handle unicode characters when logging tool dependency installation errors.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f6d687147f65/ Changeset: f6d687147f65 User: Dave Bouvier Date: 2013-11-21 14:59:22 Summary: Handle unicode characters when logging tool dependency installation errors. Affected #: 1 file diff -r e6e9349e8da45a058fb5811eb89813694aeef729 -r f6d687147f65098a82854f5c7d6aaaa2dc602c8a test/install_and_test_tool_shed_repositories/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/functional_tests.py @@ -43,6 +43,7 @@ from functional_tests import generate_config_file from galaxy import eggs +from galaxy.util import unicodify eggs.require( "nose" ) eggs.require( "NoseHTML" ) @@ -1122,7 +1123,7 @@ # In keeping with the standard display layout, add the error message to the dict for each tool individually. for dependency in repository.missing_tool_dependencies: log.error( 'Missing tool dependency %s of type %s version %s: %s' % \ - ( str( dependency.name ), str( dependency.type ), str( dependency.version ), str( dependency.error_message ) ) ) + ( str( dependency.name ), str( dependency.type ), str( dependency.version ), unicodify( dependency.error_message ) ) ) test_result = dict( type=dependency.type, name=dependency.name, version=dependency.version, 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