Skip to content

Commit

Permalink
Change list to more descriptive name values
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Aug 14, 2024
1 parent 8ffe90c commit 4b86490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlx/coverity_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def get_defects(self, stream, filters, column_names):
}
]

Filter = namedtuple("Filter", "name matcher_type list allow_regex", defaults=[None, False])
Filter = namedtuple("Filter", "name matcher_type values allow_regex", defaults=[None, False])
filter_options = {
"checker": Filter("Checker", "keyMatcher", self.checkers, True),
"impact": Filter("Impact", "keyMatcher", IMPACT_LIST),
Expand All @@ -314,7 +314,7 @@ def get_defects(self, stream, filters, column_names):
for option, filter in filter_options.items():
if filters[option]:
filter_values = self.handle_attribute_filter(
filters[option], filter.name, filter.list, filter.allow_regex
filters[option], filter.name, filter.values, filter.allow_regex
)
if filter_values:
query_filters.append(self.assemble_query_filter(filter.name, filter_values, filter.matcher_type))
Expand Down

0 comments on commit 4b86490

Please sign in to comment.