commit/galaxy-central: carlfeberhard: Fix Ratable to add emtpy stubs
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a626b45a14dc/ Changeset: a626b45a14dc User: carlfeberhard Date: 2015-01-23 18:15:59+00:00 Summary: Fix Ratable to add emtpy stubs Affected #: 1 file diff -r f9199d6aca6eeca511d1895f3265831e1e01714d -r a626b45a14dce92771043ae55e2872b720f15f00 lib/galaxy/managers/ratable.py --- a/lib/galaxy/managers/ratable.py +++ b/lib/galaxy/managers/ratable.py @@ -18,21 +18,20 @@ class RatableSerializer( object ): - pass - #def add_serializers( self ): - # self.serializers[ 'user_rating' ] = self.serialize_user_rating - # self.serializers[ 'community_rating' ] = self.serialize_community_rating + def add_serializers( self ): + self.serializers[ 'user_rating' ] = self.serialize_user_rating + self.serializers[ 'community_rating' ] = self.serialize_community_rating - #def serialize_user_rating( self, trans, item, key ): - # """ - # """ - # pass + def serialize_user_rating( self, trans, item, key ): + """ + """ + pass - #def serialize_community_rating( self, trans, item, key ): - # """ - # """ - # pass + def serialize_community_rating( self, trans, item, key ): + """ + """ + pass class RatableDeserializer( object ): 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