summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-01-22 16:54:58 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-01-22 16:54:58 -0500
commit54fd3f1cfe1af09513f642fdfe9565d2d3e5fff3 (patch)
tree15cbd411ea83889727ccd2c3df0950be0b2bbd44
parent97ae13af0aff5caefb069f9dab93372d34865e92 (diff)
downloadsqlalchemy-54fd3f1cfe1af09513f642fdfe9565d2d3e5fff3.tar.gz
couple more vars not needed outside
-rw-r--r--lib/sqlalchemy/orm/strategies.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sqlalchemy/orm/strategies.py b/lib/sqlalchemy/orm/strategies.py
index 62a94093f..9197c2397 100644
--- a/lib/sqlalchemy/orm/strategies.py
+++ b/lib/sqlalchemy/orm/strategies.py
@@ -736,8 +736,7 @@ class SubqueryLoader(AbstractRelationshipLoader):
interfaces._reduce_path(subq_path):
return
- subq_mapper, leftmost_mapper, leftmost_prop, \
- leftmost_cols, remote_cols, leftmost_attr = \
+ subq_mapper, leftmost_mapper, leftmost_attr = \
self._get_leftmost(subq_path)
orig_query = context.attributes.get(
@@ -794,8 +793,7 @@ class SubqueryLoader(AbstractRelationshipLoader):
leftmost_mapper._columntoproperty[c].class_attribute
for c in leftmost_cols
]
- return subq_mapper, leftmost_mapper, leftmost_prop, \
- leftmost_cols, remote_cols, leftmost_attr
+ return subq_mapper, leftmost_mapper, leftmost_attr
def _generate_from_original_query(self,
orig_query, leftmost_mapper,