-
scott snyder authored
In python, if TFile.Get fails, it returns a null TObject object, which is distinct from None. So comparing the result of Get() against None is wrong; better to use not or convert to a bool. This bug caused peeking in certain old data files to fail. Fixed.
scott snyder authoredIn python, if TFile.Get fails, it returns a null TObject object, which is distinct from None. So comparing the result of Get() against None is wrong; better to use not or convert to a bool. This bug caused peeking in certain old data files to fail. Fixed.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
FilePeekerLib.py 28.43 KiB