1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/478c60421dd9/ Changeset: 478c60421dd9 User: greg Date: 2014-01-08 03:37:17 Summary: Don't map the time_last_tested column in the tool shed API. Affected #: 1 file diff -r 2a23dec18caabf3e326447db7eabd0b2d963fef4 -r 478c60421dd9a71422d98ee2ada8043bf53ffeef lib/galaxy/webapps/tool_shed/api/repository_revisions.py --- a/lib/galaxy/webapps/tool_shed/api/repository_revisions.py +++ b/lib/galaxy/webapps/tool_shed/api/repository_revisions.py @@ -1,6 +1,5 @@ import datetime import logging -from galaxy.web.framework.helpers import time_ago from tool_shed.util import metadata_util from galaxy import web from galaxy import util @@ -234,8 +233,4 @@ def __get_value_mapper( self, trans, repository_metadata ): value_mapper = { 'id' : trans.security.encode_id, 'repository_id' : trans.security.encode_id } - if repository_metadata.time_last_tested is not None: - # For some reason the Dictifiable.to_dict() method in ~/galaxy/model/item_attrs.py requires - # a function rather than a mapped value, so just pass the time_ago function here. - value_mapper[ 'time_last_tested' ] = time_ago return value_mapper 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.