commit/galaxy-central: carlfeberhard: History & HDA API: fix unicode support for tags in update
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/984377efb491/ Changeset: 984377efb491 User: carlfeberhard Date: 2014-01-10 19:02:26 Summary: History & HDA API: fix unicode support for tags in update Affected #: 1 file diff -r b142bc80747e5079b7f406259dc346cdba86a044 -r 984377efb491a30e4afd320c9fbff2ff1e1241af lib/galaxy/web/base/controller.py --- a/lib/galaxy/web/base/controller.py +++ b/lib/galaxy/web/base/controller.py @@ -2469,7 +2469,7 @@ # based on controllers/tag retag_async: delete all old, reset to entire new trans.app.tag_handler.delete_item_tags( trans, user, item ) new_tags_str = ','.join( new_tags_list ) - trans.app.tag_handler.apply_item_tags( trans, user, item, new_tags_str.encode( 'utf-8' ) ) + trans.app.tag_handler.apply_item_tags( trans, user, item, unicode( new_tags_str.encode( 'utf-8' ), 'utf-8' ) ) trans.sa_session.flush() return item.tags 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