Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Fix #485; another place where C++ class names need to be _safenames: …
Browse files Browse the repository at this point in the history
…inside TTrees.
  • Loading branch information
jpivarski committed May 8, 2020
1 parent 7d73ee8 commit 73af561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uproot/rootio.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def _readobjany(source, cursor, context, parent, asclass=None):

elif tag == uproot.const.kNewClassTag:
# new class and object
cname = cursor.cstring(source).decode("ascii")
cname = _safename(cursor.cstring(source))

fct = context.classes.get(cname, Undefined)

Expand Down

0 comments on commit 73af561

Please sign in to comment.