fix 'items' method

This commit is contained in:
Jakub Trllo 2023-01-26 14:34:53 +01:00 committed by GitHub
parent 7c1a39d5e4
commit 44bcfc167a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,7 @@ class ChangedItem(object):
return self.changed_keys
def items(self):
if self.is_dict:
if not self.is_dict:
yield None, self.changes
else:
for item in self.changes.items():