Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dparmar18 committed Apr 2, 2024
1 parent 292a428 commit ec7a8b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions teuthology/suite/fragment-merge.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,15 +22,15 @@ 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
end
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
Expand All @@ -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
Expand Down

0 comments on commit ec7a8b5

Please sign in to comment.