Commit f1d0fde7 authored by cponcele's avatar cponcele
Browse files

Fix pylint warning

parent 452545e5
......@@ -37,11 +37,11 @@ class SonarChecker:
if not path.endswith("/"):
path = path + "/"
for name,value in self.classes.items():
for value in self.classes.items():
pattern = value.get_group_path_pattern()
match = re.fullmatch(pattern, path)
if match:
return self.classes[name]
return value
return None
def validate_grp(self, dataset: nc.Dataset):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment