From 05ebc901fef3e8982db320d269357bf9096f3ead Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 15 Oct 2007 00:29:55 +0000 Subject: queryset-refactor: Fixed a couple of typos that were messing up extra(select=...). git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6512 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/sql/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/db/models/sql/query.py') diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 5d96ec8020..3c0e342c86 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -342,7 +342,7 @@ class Query(object): """ qn = self.quote_name_unless_alias result = [] - if self.select or self.extra_select: + if self.select: for col in self.select: if isinstance(col, (list, tuple)): result.append('%s.%s' % (qn(col[0]), qn(col[1]))) -- cgit v1.3