From 51bd4b719c0c78aaaa740605adbdf410844a55e5 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Tue, 2 Feb 2021 15:28:12 -0500 Subject: [PATCH] Fix lint. --- src/allmydata/test/web/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/web/test_web.py b/src/allmydata/test/web/test_web.py index 4dbdf685b..cebe709c1 100644 --- a/src/allmydata/test/web/test_web.py +++ b/src/allmydata/test/web/test_web.py @@ -4290,7 +4290,7 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi http.FOUND, http.TEMPORARY_REDIRECT, ] if code is None else [code] - body = yield response.content() + yield response.content() self.assertIn(response.code, codes) location = response.headers.getRawHeaders(b"location")[0] if target_location is not None: