diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:22:50 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:22:50 +0100 |
commit | 4b3635c01d650058227767d2253e32e902cbbed1 (patch) | |
tree | 7efc29e129f01630618ea4bcd6b731b33c89ae10 /paste/fixture.py | |
parent | fbd07d8a7cf88daf5d821601578d2f7bc1c92928 (diff) | |
download | paste-4b3635c01d650058227767d2253e32e902cbbed1.tar.gz |
Python 3: don't use tuples in function prototype
Unpack explicitly in the body of the function
Diffstat (limited to 'paste/fixture.py')
-rw-r--r-- | paste/fixture.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py index 0cf3a27..f3140ec 100644 --- a/paste/fixture.py +++ b/paste/fixture.py @@ -447,7 +447,8 @@ class TestApp(object): raise AppError( "Application had errors logged:\n%s" % res.errors) - def _make_response(self, (status, headers, body, errors), total_time): + def _make_response(self, resp, total_time): + status, headers, body, errors = resp return TestResponse(self, status, headers, body, errors, total_time) |