summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/dynamic.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-14 23:43:40 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-14 23:43:40 +0000
commita83f643c8171d05eda3e6dcdda1aa47a4de69766 (patch)
treed637e866ec356d394011c6012d96f4a32c83ffb6 /lib/sqlalchemy/orm/dynamic.py
parentded4e1d76b634b94a161bc91a3b4eb9d8777332b (diff)
downloadsqlalchemy-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.py6
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