summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2008-07-22 03:26:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2008-07-22 03:26:25 +0000
commit0894ddb2bbb706ca8b9918df42dfd8a3fa4dbc69 (patch)
treec5b80abe45e92f8be8317b42232bc4d5b5facd82 /django/db/models/sql/query.py
parent29f0e8182f49e2927ae46e748d09d0672d4fc127 (diff)
Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/sql/query.py')
-rw-r--r--django/db/models/sql/query.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index f06855611a..9639ff4956 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -1213,7 +1213,6 @@ class Query(object):
raise MultiJoin(pos + 1)
if model:
# The field lives on a base class of the current model.
- alias_list = []
for int_model in opts.get_base_chain(model):
lhs_col = opts.parents[int_model].column
dedupe = lhs_col in opts.duplicate_targets