Skip to content

Commit

Permalink
fix typo from refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Oct 12, 2023
1 parent 92efdb2 commit 8ae3cd5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/coffea/nanoevents/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ def load_buffers(self, tree, keys, start, stop, interp_options):
# partition key. Therefore, we must translate the keys here.
def translate_key(index):
form_key, attribute = self.parse_buffer_key(index)
return mapping[
buffer_key(form_key=form_key, attribute=attribute, form=None)
]
return buffer_key(form_key=form_key, attribute=attribute, form=None)

return _TranslatedMapping(translate_key, mapping)

Expand Down

0 comments on commit 8ae3cd5

Please sign in to comment.