From 0bbb0e9b572929c05c5c0b3b0e22ffdeda29ad59 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 9 May 2008 18:43:05 +0000 Subject: identified case where pending upon commit() is needed; since attribute rollback functionality is gone its safe to revert to this --- lib/sqlalchemy/orm/attributes.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py index 7ce825c9d..848810c13 100644 --- a/lib/sqlalchemy/orm/attributes.py +++ b/lib/sqlalchemy/orm/attributes.py @@ -964,6 +964,7 @@ class InstanceState(object): """ self.committed_state = {} + self.pending = {} # unexpire attributes which have loaded if self.expired_attributes: -- cgit v1.2.1