From f7757e4ebf07471367d7b04deff0fe5dbb9df781 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 7 Jun 2012 16:45:07 +0200 Subject: [PATCH] Fix typos in source documentation metdata -> metadata requets -> requests Change-Id: Idc3c67e6415532e64e1d04c767f64e1d50269f44 --- AUTHORS | 1 + swift/common/internal_client.py | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/AUTHORS b/AUTHORS index 5318ce7f21..aadffb227e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -77,3 +77,4 @@ Cory Wright (cory.wright@rackspace.com) Ye Jia Xu (xyj.asmy@gmail.com) Pete Zaitcev (zaitcev@kotori.zaitcev.us) Josh Kearney (josh@jk0.org) +Vincent Untz (vuntz@suse.com) diff --git a/swift/common/internal_client.py b/swift/common/internal_client.py index 1a205f65a4..58722a1c2e 100644 --- a/swift/common/internal_client.py +++ b/swift/common/internal_client.py @@ -234,9 +234,9 @@ class InternalClient(object): :param path: Path to do POST on. :param metadata: Dict of metadata to set. - :param metadata_prefix: Prefix used to set metdata values in headers of - requets, used to prefix keys in metadata when - setting metdata, defaults to ''. + :param metadata_prefix: Prefix used to set metadata values in headers + of requests, used to prefix keys in metadata + when setting metadata, defaults to ''. :param acceptable_statuses: List of status for valid responses, defaults to (2,). @@ -330,9 +330,9 @@ class InternalClient(object): :param account: Account on which to get the metadata. :param metadata: Dict of metadata to set. - :param metadata_prefix: Prefix used to set metdata values in headers of - requets, used to prefix keys in metadata when - setting metdata, defaults to ''. + :param metadata_prefix: Prefix used to set metadata values in headers + of requests, used to prefix keys in metadata + when setting metadata, defaults to ''. :param acceptable_statuses: List of status for valid responses, defaults to (2,). @@ -464,9 +464,9 @@ class InternalClient(object): :param account: The container's account. :param container: Container to set metadata on. :param metadata: Dict of metadata to set. - :param metadata_prefix: Prefix used to set metdata values in headers of - requets, used to prefix keys in metadata when - setting metdata, defaults to ''. + :param metadata_prefix: Prefix used to set metadata values in headers + of requests, used to prefix keys in metadata + when setting metadata, defaults to ''. :param acceptable_statuses: List of status for valid responses, defaults to (2,). @@ -585,9 +585,9 @@ class InternalClient(object): :param container: The object's container. :param object_name: The object. :param metadata: Dict of metadata to set. - :param metadata_prefix: Prefix used to set metdata values in headers of - requets, used to prefix keys in metadata when - setting metdata, defaults to ''. + :param metadata_prefix: Prefix used to set metadata values in headers + of requests, used to prefix keys in metadata + when setting metadata, defaults to ''. :param acceptable_statuses: List of status for valid responses, defaults to (2,).