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)))