Trivial fix for decrypter docstrings

Fix wrong param descriptions in decrypter.py
Fix missing param in base.py

Change-Id: I07fdfe2e7193afa4ee6b88a10f4ba58495b509b3
This commit is contained in:
Alistair Coles 2017-05-03 11:41:14 +01:00
parent 172c4de31d
commit 88ca232e52
2 changed files with 3 additions and 2 deletions

View File

@ -233,7 +233,7 @@ class DecrypterObjContext(BaseDecrypterContext):
:param resp: application response
:param boundary: multipart boundary string
:param body_key: a dict of decryption keys.
:param body_key: decryption key for the response body
:param crypto_meta: crypto_meta for the response body
:return: generator for decrypted response body
"""
@ -262,7 +262,7 @@ class DecrypterObjContext(BaseDecrypterContext):
Decrypts a response body.
:param resp: application response
:param body_key: a dict of decryption keys.
:param body_key: decryption key for the response body
:param crypto_meta: crypto_meta for the response body
:param offset: offset into object content at which response body starts
:return: generator for decrypted response body

View File

@ -505,6 +505,7 @@ def set_object_info_cache(app, env, account, container, obj, resp):
per-request cache only.
:param app: the application object
:param env: the environment used by the current request
:param account: the unquoted account name
:param container: the unquoted container name
:param obj: the unquoted object name