Skip to content

Commit 027a1ac

Browse files
committed
RDBC-700 Bugfix
1 parent c9e7c73 commit 027a1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ravendb/documents/session/document_session_operations/in_memory_document_session_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def has_changes(self) -> bool:
11311131
if self._entity_changed(document, entity.value, None):
11321132
return True
11331133

1134-
return not self._deleted_entities or not self._deferred_commands
1134+
return not len(self._deleted_entities) == 0 or not len(self._deferred_commands) == 0
11351135

11361136
def _what_changed(self) -> Dict[str, List[DocumentsChanges]]:
11371137
changes = {}

0 commit comments

Comments
 (0)