Skip to content

Commit e48d01a

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "return the full response from FakeAppObject"
2 parents a191046 + c82c719 commit e48d01a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Contributors
1717
------------
1818
Jesse Andrews ([email protected])
1919
Joe Arnold ([email protected])
20+
Ionuț Arțăriși ([email protected])
2021
Darrell Bishop ([email protected])
2122
James E. Blair ([email protected])
2223
Chmouel Boudjnah ([email protected])

test/unit/common/middleware/test_swift3.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ def __call__(self, env, start_response):
134134
if 'HTTP_RANGE' in env:
135135
resp = Response(body=self.object_body,
136136
conditional_response=True)
137-
resp_iter = iter(resp(env, start_response))
138-
return resp_iter.next()
137+
return resp(env, start_response)
139138
start_response(Response().status,
140139
self.response_headers.items())
141140
if env['REQUEST_METHOD'] == 'GET':

0 commit comments

Comments
 (0)