Skip to content

Commit

Permalink
Merge pull request #34464 from smuzaffar/fix-dqm-comp
Browse files Browse the repository at this point in the history
fix comparison: filter() in py3 does not return list
  • Loading branch information
cmsbuild authored Jul 13, 2021
2 parents 4d405b2 + 6e93172 commit ddbf785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/RelMon/python/dqm_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def walk(self):
#print self.ls().keys()
first_run_dir = ""
try:
first_run_dir = filter(lambda k: "Run " in k, self.ls().keys())[0]
first_run_dir = list(filter(lambda k: "Run " in k, self.ls().keys()))[0]
except:
print("\nRundir not there: Is this a generic rootfile?\n")
rundir=first_run_dir
Expand Down

0 comments on commit ddbf785

Please sign in to comment.