Merge "Remove the useless function"

This commit is contained in:
Jenkins 2016-08-18 19:53:01 +00:00 committed by Gerrit Code Review
commit ff67ea2c87

View File

@ -125,11 +125,6 @@ class SubscriptionEnvelope(object):
self.expires = kwargs.get('expires', float('inf'))
self.options = kwargs['options']
@staticmethod
def from_hmap(hmap):
kwargs = _hmap_kv_to_subenv(hmap)
return SubscriptionEnvelope(**kwargs)
@staticmethod
def from_redis(sid, client):
values = client.hmget(sid, SUBENV_FIELD_KEYS)