summaryrefslogtreecommitdiff
path: root/swift/common/memcached.py
diff options
context:
space:
mode:
authorNgo Quoc Cuong <cuongnq@vn.fujitsu.com>2017-05-03 16:54:19 +0700
committerNgo Quoc Cuong <cuongnq@vn.fujitsu.com>2017-05-03 18:30:14 +0700
commit172c4de31d348fa42f074ccb2bbc858e6b63f91a (patch)
tree562acde20fe3753f1c863552da93bde48ba40d50 /swift/common/memcached.py
parentd7a6d6e1e9c93d649e90270219a8ec804849cf61 (diff)
downloadswift-172c4de31d348fa42f074ccb2bbc858e6b63f91a.tar.gz
Trivial fix warnings in docstring
Single quoted docstring Params and docstring are inconsistent Change-Id: Ie41bd2960280491f0a5fbd55c6a1aabb328099b8
Diffstat (limited to 'swift/common/memcached.py')
-rw-r--r--swift/common/memcached.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/swift/common/memcached.py b/swift/common/memcached.py
index 5f47684c9..5b6145ba1 100644
--- a/swift/common/memcached.py
+++ b/swift/common/memcached.py
@@ -239,10 +239,10 @@ class MemcacheRing(object):
to memcache, or with pickle if configured to use
pickle instead of JSON (to avoid cache poisoning)
:param time: the time to live
- :min_compress_len: minimum compress length, this parameter was added
- to keep the signature compatible with
- python-memcached interface. This implementation
- ignores it.
+ :param min_compress_len: minimum compress length, this parameter was
+ added to keep the signature compatible with
+ python-memcached interface. This
+ implementation ignores it.
"""
key = md5hash(key)
timeout = sanitize_timeout(time)
@@ -430,8 +430,8 @@ class MemcacheRing(object):
Gets multiple values from memcache for the given keys.
:param keys: keys for values to be retrieved from memcache
- :param servery_key: key to use in determining which server in the ring
- is used
+ :param server_key: key to use in determining which server in the ring
+ is used
:returns: list of values
"""
server_key = md5hash(server_key)