From a1f32ecd02f9d3813f9ff2a9ec461d0255936494 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 19 Jul 2024 18:48:29 +0100 Subject: [PATCH] obey the sonarlinter! --- pseudodb/pseudodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudodb/pseudodb.py b/pseudodb/pseudodb.py index 6193fe1..85581bb 100644 --- a/pseudodb/pseudodb.py +++ b/pseudodb/pseudodb.py @@ -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)))