Skip to content
Snippets Groups Projects
Commit 24be20da authored by scott snyder's avatar scott snyder
Browse files

fix flake8 warnings

parent e4073a70
No related branches found
No related tags found
No related merge requests found
......@@ -145,11 +145,10 @@ def dump_info(bsfile, args):
def load_streamerinfos():
import ROOT
import os
import sys
for p in os.environ['DATAPATH'].split (':'):
fname = os.path.join (p, 'bs-streamerinfos.root')
if os.path.exists (fname):
f = ROOT.TFile.Open (fname)
ROOT.TFile.Open (fname)
break
else:
log.warning('Cannot find bs-streamerinfos.root file in DATAPATH')
......
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