summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-05-09 18:43:05 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-05-09 18:43:05 +0000
commit0bbb0e9b572929c05c5c0b3b0e22ffdeda29ad59 (patch)
tree0d10f0da2fc8f0fe9acbfc2e6400084dcc653ca4 /lib
parent54296c962870821dfbe3c69b2eadd4e1c37e36db (diff)
downloadsqlalchemy-0bbb0e9b572929c05c5c0b3b0e22ffdeda29ad59.tar.gz
identified case where pending upon commit() is needed; since attribute rollback functionality is gone its safe to revert to this
Diffstat (limited to 'lib')
-rw-r--r--lib/sqlalchemy/orm/attributes.py1
1 files changed, 1 insertions, 0 deletions
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: