Skip to content

Commit

Permalink
Merge pull request avocado-framework#6062 from KeyLee123/master
Browse files Browse the repository at this point in the history
Remove unused variable 'hint_resolutions'
  • Loading branch information
richtja authored Nov 1, 2024
2 parents bb45e43 + 6b55d5a commit c094fde
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions avocado/core/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,10 @@ def _extend_directory(path):

def resolve(references, hint=None, ignore_missing=True, config=None):
resolutions = []
hint_resolutions = []
hint_references = {}

if hint:
hint_resolutions = hint.get_resolutions()
hint_references = {r.reference: r for r in hint_resolutions}
hint_references = {r.reference: r for r in hint.get_resolutions()}

if not references and hint_references:
references = list(hint_references.keys())
Expand Down

0 comments on commit c094fde

Please sign in to comment.