Skip to content
Snippets Groups Projects
Commit 3cb6c091 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

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.
parent ca47ec5e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment