diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-07 17:51:45 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-07 17:51:45 +0000 |
commit | 6ee80994a37c19d407f18266c8ab7184e8e8ad96 (patch) | |
tree | c34f087eecfbb365e3740811422175e3d73f204c /lib/sqlalchemy/orm/identity.py | |
parent | 7ead46cbf27835408bc85513f5f669274037e463 (diff) | |
download | sqlalchemy-6ee80994a37c19d407f18266c8ab7184e8e8ad96.tar.gz |
remove needless check_modified()
Diffstat (limited to 'lib/sqlalchemy/orm/identity.py')
-rw-r--r-- | lib/sqlalchemy/orm/identity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/identity.py b/lib/sqlalchemy/orm/identity.py index 4c1618df9..69ca31eda 100644 --- a/lib/sqlalchemy/orm/identity.py +++ b/lib/sqlalchemy/orm/identity.py @@ -236,7 +236,7 @@ class StrongInstanceDict(IdentityMap): """prune unreferenced, non-dirty states.""" ref_count = len(self) - dirty = [s.obj() for s in self.all_states() if s.check_modified()] + dirty = [s.obj() for s in self.all_states() if s.modified] # work around http://bugs.python.org/issue6149 keepers = weakref.WeakValueDictionary() |