Skip to content

Commit

Permalink
fix: bug in PR #1189's 'ignore_duplicates' implementation (#1209)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski authored May 8, 2024
1 parent 6d35e1a commit e944099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uproot/behaviors/TBranch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ def iteritems(
if filter_name is no_filter or _filter_name_deep(
filter_name, self, v
):
if ignore_duplicates and branch.name in keys_set:
if ignore_duplicates and k2 in keys_set:
pass
else:
keys_set.add(k2)
Expand Down

0 comments on commit e944099

Please sign in to comment.