change ambiguous variable name

This is a flake8 lint.

Change-Id: I1701f86c3b9ab759408a759787fb4fb3bd2825f3
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein 2024-12-06 08:57:48 -06:00
parent 6bfd84b66b
commit f5ffda75f6
No known key found for this signature in database

View File

@ -33,10 +33,10 @@ def make_link(rel_name, url, resource, resource_args,
"""Build a dict representing a link"""
href = build_url(resource, resource_args,
bookmark=bookmark, base_url=url)
l = {
link = {
'href': href,
'rel': rel_name
}
if type:
l['type'] = type
return l
link['type'] = type
return link