Merge "change ambiguous variable name"

This commit is contained in:
Zuul 2025-01-07 16:45:11 +00:00 committed by Gerrit Code Review
commit 8620ee8dfe

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