diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-18 16:24:00 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-18 16:24:00 +0000 |
| commit | 1b2d7b109689f4765df7def171248c95b9c0f37a (patch) | |
| tree | 5f0cf7b598bccc459c14df168d3211208dd4cda8 /lib | |
| parent | c2cbdb2ce08b359a2e761046ca5e6453b6729668 (diff) | |
| download | sqlalchemy-1b2d7b109689f4765df7def171248c95b9c0f37a.tar.gz | |
- the "passive" flag on session.is_modified()
is correctly propagated to the attribute manager.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sqlalchemy/orm/session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index 4768dab7f..15e751cca 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -1464,7 +1464,7 @@ class Session(object): for attr in state.manager.attributes: if not include_collections and hasattr(attr.impl, 'get_collection'): continue - (added, unchanged, deleted) = attr.get_history(instance) + (added, unchanged, deleted) = attr.get_history(instance, passive=passive) if added or deleted: return True return False |
