Skip to content

Commit

Permalink
fix: refactor iterating over symbol dict
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Sep 9, 2021
1 parent fed00a8 commit 195681a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auditwheel/elfutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def filter_undefined_symbols(
undef_symbols.add(sym.name)

result = {}
for lib, sym_list in symbols:
for lib, sym_list in symbols.items():
intersection = set(sym_list) & undef_symbols
if intersection:
result[lib] = sorted(intersection)
Expand Down

0 comments on commit 195681a

Please sign in to comment.