summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
authorAnh Tran <anhtt@vn.fujitsu.com>2016-09-28 11:25:56 +0700
committerAnh Tran <anhtt@vn.fujitsu.com>2016-09-28 11:25:56 +0700
commitbb3160a42c72e9e2b8b1046ffbb2933a4397ff5d (patch)
tree5543fa80e6b62c43f68978c7d8687a05ffb47b8f /swiftclient/client.py
parentab7a8b2453d4eda10d5790c73d132fe350548107 (diff)
downloadpython-swiftclient-bb3160a42c72e9e2b8b1046ffbb2933a4397ff5d.tar.gz
Remove redundant space in docstring
TrivialFix Change-Id: I7012fb7bbbedfba30b8e0450a449787e9076f4ef
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index dc9a09e..70d0675 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -416,11 +416,11 @@ class HTTPConnection(object):
self.requests_args['timeout'] = timeout
def _request(self, *arg, **kwarg):
- """ Final wrapper before requests call, to be patched in tests """
+ """Final wrapper before requests call, to be patched in tests"""
return self.request_session.request(*arg, **kwarg)
def request(self, method, full_path, data=None, headers=None, files=None):
- """ Encode url and header, then call requests.request """
+ """Encode url and header, then call requests.request"""
if headers is None:
headers = {}
else:
@@ -447,7 +447,7 @@ class HTTPConnection(object):
return self.request('PUT', full_path, data, headers, files)
def getresponse(self):
- """ Adapt requests response to httplib interface """
+ """Adapt requests response to httplib interface"""
self.resp.status = self.resp.status_code
old_getheader = self.resp.raw.getheader
@@ -476,7 +476,7 @@ class HTTPConnection(object):
def http_connection(*arg, **kwarg):
- """ :returns: tuple of (parsed url, connection object) """
+ """:returns: tuple of (parsed url, connection object)"""
conn = HTTPConnection(*arg, **kwarg)
return conn.parsed_url, conn