Skip to content
Snippets Groups Projects
Commit ec35fd4c authored by Christian Weber's avatar Christian Weber
Browse files

Bugfix: change how we access TObject refrences by TKey, some kind of strings gave problems

parent 9dbde3e1
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ def generateTDirContents(TDir):
TDirKeys = TDir.GetListOfKeys() # output is a TList
for TKey in TDirKeys:
yield TDir.Get(TKey.GetName()) # this is how I access the element that belongs to the current TKey
yield TKey.ReadObj() # this is how I access the element that belongs to the current TKey
def generateTDirPathAndContentsRecursive(TDir, baseString = "" , newOwnership = None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment