diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-19 19:55:35 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-19 19:55:35 -0500 |
| commit | d94c1d1ac30821572c7c5cf864825d5f552b81b3 (patch) | |
| tree | d72ab4f5b0de37abac4847cc791b46045a065f45 /lib/sqlalchemy/orm/dependency.py | |
| parent | 0a46523a92dbf5229575cd75bb1be989024676ec (diff) | |
| download | sqlalchemy-d94c1d1ac30821572c7c5cf864825d5f552b81b3.tar.gz | |
- further optimize what get_all_pending() returns to reduce the work of receivers
Diffstat (limited to 'lib/sqlalchemy/orm/dependency.py')
| -rw-r--r-- | lib/sqlalchemy/orm/dependency.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sqlalchemy/orm/dependency.py b/lib/sqlalchemy/orm/dependency.py index 35b197f63..2c4cc3eff 100644 --- a/lib/sqlalchemy/orm/dependency.py +++ b/lib/sqlalchemy/orm/dependency.py @@ -175,10 +175,7 @@ class DependencyProcessor(object): if child_in_cycles: child_actions = [] - for child in sum_: - if child is None: - continue - child_state = attributes.instance_state(child) + for child_state, child in sum_: if child_state not in uow.states: child_action = (None, None) else: |
