[run_selector] always filter runs name

This commit is contained in:
Noe Brucy
2021-05-19 14:43:44 +02:00
parent afe061bd38
commit d9d4cf7f0f
+1 -6
View File
@@ -236,19 +236,14 @@ class RunSelector:
success = False success = False
return success return success
if do_tests:
runs = list( runs = list(
map( map(
os.path.basename, os.path.basename,
list( list(
filter( filter(os.path.isdir, glob.glob(self.path_in + "/" + filter_name))
os.path.isdir, glob.glob(self.path_in + "/" + filter_name)
)
), ),
) )
) )
else:
runs = self.runs
if in_runs is not None: if in_runs is not None:
runs = list(filter(lambda n: n in runs, in_runs)) runs = list(filter(lambda n: n in runs, in_runs))