obey the sonarlinter!

This commit is contained in:
Greg Gauthier 2024-07-19 18:48:29 +01:00
parent 56c3fe6cfc
commit a1f32ecd02

View File

@ -21,7 +21,7 @@ class PseudoDB:
if self.data is not None:
attr_names = []
for attr_name in dir(self.data):
if not attr_name.startswith('__') and not attr_name == 'ar':
if not attr_name.startswith('__') and attr_name != 'ar':
collection = getattr(self.data, attr_name)
attr_names.append((attr_name, type(collection)))