Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge "return the full response from FakeAppObject"

  • Loading branch information...
commit e48d01a7a79ca28408470f03414f2949112e68b3 2 parents a191046 + c82c719
Jenkins authored openstack-gerrit committed
Showing with 2 additions and 2 deletions.
  1. +1 −0  AUTHORS
  2. +1 −2  test/unit/common/middleware/test_swift3.py
View
1  AUTHORS
@@ -17,6 +17,7 @@ Contributors
------------
Jesse Andrews (anotherjesse@gmail.com)
Joe Arnold (joe@swiftstack.com)
+Ionuț Arțăriși (iartarisi@suse.cz)
Darrell Bishop (darrell@swiftstack.com)
James E. Blair (james.blair@rackspace.com)
Chmouel Boudjnah (chmouel@chmouel.com)
View
3  test/unit/common/middleware/test_swift3.py
@@ -134,8 +134,7 @@ def __call__(self, env, start_response):
if 'HTTP_RANGE' in env:
resp = Response(body=self.object_body,
conditional_response=True)
- resp_iter = iter(resp(env, start_response))
- return resp_iter.next()
+ return resp(env, start_response)
start_response(Response().status,
self.response_headers.items())
if env['REQUEST_METHOD'] == 'GET':

0 comments on commit e48d01a

Please sign in to comment.
Something went wrong with that request. Please try again.