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

Commit

Permalink
Merge pull request #486 from scikit-hep/issue-485
Browse files Browse the repository at this point in the history
Fix #485; another place where C++ class names need to be _safenames: inside TTrees.
  • Loading branch information
jpivarski committed May 9, 2020
2 parents 7d73ee8 + 73af561 commit 244194d
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 244194d

Please sign in to comment.