From 219bc9b7e77a252b71013bf341e959e756cd6d2b Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Mon, 7 Mar 2022 17:25:49 -0500 Subject: [PATCH] Resolve lint issues --- sprockets/mixins/http/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sprockets/mixins/http/__init__.py b/sprockets/mixins/http/__init__.py index 28d3c54..621ace6 100644 --- a/sprockets/mixins/http/__init__.py +++ b/sprockets/mixins/http/__init__.py @@ -156,9 +156,10 @@ class HTTPResponse: return None links = [] if 'Link' in self._responses[-1].headers: - for l in headers.parse_link(self._responses[-1].headers['Link']): - link = {'target': l.target} - link.update({k: v for (k, v) in l.parameters}) + for parsed in headers.parse_link( + self._responses[-1].headers['Link']): + link = {'target': parsed.target} + link.update({k: v for (k, v) in parsed.parameters}) links.append(link) return links