diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-14 23:43:40 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-14 23:43:40 +0000 |
commit | a83f643c8171d05eda3e6dcdda1aa47a4de69766 (patch) | |
tree | d637e866ec356d394011c6012d96f4a32c83ffb6 /lib/sqlalchemy/orm/dynamic.py | |
parent | ded4e1d76b634b94a161bc91a3b4eb9d8777332b (diff) | |
download | sqlalchemy-a83f643c8171d05eda3e6dcdda1aa47a4de69766.tar.gz |
Gave the "state" internals a good solid
cleanup with less complexity, datamembers,
method calls, blank dictionary creates.
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
-rw-r--r-- | lib/sqlalchemy/orm/dynamic.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/dynamic.py b/lib/sqlalchemy/orm/dynamic.py index 308d69fe8..2157bafc8 100644 --- a/lib/sqlalchemy/orm/dynamic.py +++ b/lib/sqlalchemy/orm/dynamic.py @@ -94,7 +94,11 @@ class DynamicAttributeImpl(attributes.AttributeImpl): if self.key not in state.committed_state: state.committed_state[self.key] = CollectionHistory(self, state) - state.modified_event(dict_, self, False, attributes.NEVER_SET, passive=attributes.PASSIVE_NO_INITIALIZE) + state.modified_event(dict_, + self, + False, + attributes.NEVER_SET, + passive=attributes.PASSIVE_NO_INITIALIZE) # this is a hack to allow the _base.ComparableEntity fixture # to work |