commit/galaxy-central: greg: Eliminate unnecessary RepositoryMetadata.to_dict() method in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ce0d87c3afb0/ Changeset: ce0d87c3afb0 User: greg Date: 2014-01-09 03:25:19 Summary: Eliminate unnecessary RepositoryMetadata.to_dict() method in the tool shed. Affected #: 1 file diff -r 61721f9eda65b1e7444264249815ad993e61fb27 -r ce0d87c3afb0269307640dc64daee3b47095dedf lib/galaxy/webapps/tool_shed/model/__init__.py --- a/lib/galaxy/webapps/tool_shed/model/__init__.py +++ b/lib/galaxy/webapps/tool_shed/model/__init__.py @@ -271,14 +271,6 @@ return True return False - def to_dict( self, view='collection', value_mapper=None ): - rval = super( RepositoryMetadata, self ).to_dict( view=view, value_mapper=value_mapper ) - if 'time_last_tested' in rval: - time_last_tested = rval[ 'time_last_tested' ] - if time_last_tested is not None: - rval[ 'time_last_tested' ] = time_last_tested.isoformat() - return rval - class SkipToolTest( object, Dictifiable ): dict_collection_visible_keys = ( 'id', 'repository_metadata_id', 'initial_changeset_revision' ) 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