diff --git a/teuthology/suite/fragment-merge.lua b/teuthology/suite/fragment-merge.lua index 719efd887..3fcb7fbb1 100644 --- a/teuthology/suite/fragment-merge.lua +++ b/teuthology/suite/fragment-merge.lua @@ -12,7 +12,7 @@ local function matches(_ENV, f) return true end if filter_fragments then - for i,path in py_enumerate(base_frag_paths) do + for i,path in python.enumerate(base_frag_paths) do if path:find(f) then return true end @@ -22,7 +22,7 @@ end local function check_filters(_ENV) if filter_all then - for i,f in py_enumerate(filter_all) do + for i,f in python.enumerate(filter_all) do if not matches(_ENV, f) then reject() end @@ -30,7 +30,7 @@ local function check_filters(_ENV) end if filter_in then local found, tried = false, false - for i,f in py_enumerate(filter_in) do + for i,f in python.enumerate(filter_in) do tried = true if matches(_ENV, f) then found = true @@ -42,7 +42,7 @@ local function check_filters(_ENV) end end if filter_out then - for i,f in py_enumerate(filter_out) do + for i,f in python.enumerate(filter_out) do if matches(_ENV, f) then reject() end