obey the sonarlinter!
This commit is contained in:
parent
56c3fe6cfc
commit
a1f32ecd02
@ -21,7 +21,7 @@ class PseudoDB:
|
|||||||
if self.data is not None:
|
if self.data is not None:
|
||||||
attr_names = []
|
attr_names = []
|
||||||
for attr_name in dir(self.data):
|
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)
|
collection = getattr(self.data, attr_name)
|
||||||
attr_names.append((attr_name, type(collection)))
|
attr_names.append((attr_name, type(collection)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user