Nitpick syntax to go below 80 chars
This commit is contained in:
parent
92c1fbb585
commit
ee47d6ab7b
@ -132,10 +132,10 @@ class Client(_pylibmc.client):
|
|||||||
Reverses the integer constants for `hash` and `distribution` into more
|
Reverses the integer constants for `hash` and `distribution` into more
|
||||||
understandable string values. See *set_behaviors* for info.
|
understandable string values. See *set_behaviors* for info.
|
||||||
"""
|
"""
|
||||||
behaviors = super(Client, self).get_behaviors()
|
bvrs = super(Client, self).get_behaviors()
|
||||||
behaviors["hash"] = hashers_rvs[behaviors["hash"]]
|
bvrs["hash"] = hashers_rvs[bvrs["hash"]]
|
||||||
behaviors["distribution"] = distributions_rvs[behaviors["distribution"]]
|
bvrs["distribution"] = distributions_rvs[bvrs["distribution"]]
|
||||||
return BehaviorDict(self, behaviors)
|
return BehaviorDict(self, bvrs)
|
||||||
|
|
||||||
def set_behaviors(self, behaviors):
|
def set_behaviors(self, behaviors):
|
||||||
"""Sets the behaviors on the underlying C client instance.
|
"""Sets the behaviors on the underlying C client instance.
|
||||||
|
Reference in New Issue
Block a user