diff --git a/Utilities/RelMon/python/dqm_interfaces.py b/Utilities/RelMon/python/dqm_interfaces.py index 239ceec61d41c..083a38bf1ec3f 100755 --- a/Utilities/RelMon/python/dqm_interfaces.py +++ b/Utilities/RelMon/python/dqm_interfaces.py @@ -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