Skip to content

AthenaPython: Fix file peeking for certain old files.

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.

Merge request reports

Loading