From 4b3635c01d650058227767d2253e32e902cbbed1 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Tue, 18 Mar 2014 12:22:50 +0100 Subject: Python 3: don't use tuples in function prototype Unpack explicitly in the body of the function --- paste/fixture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'paste/fixture.py') 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) -- cgit v1.2.1