Skip to content

Commit

Permalink
Removed broken self.extra_where clause.
Browse files Browse the repository at this point in the history
  • Loading branch information
DataMarket committed Oct 26, 2011
1 parent 827d70f commit cc2c0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multilingual/query.py
Expand Up @@ -508,7 +508,7 @@ def setup_joins(self, names, opts, alias, dupe_multis, allow_many=True,
def get_count(self): def get_count(self):
# optimize for the common special case: count without any # optimize for the common special case: count without any
# filters # filters
if ((not (self.select or self.where or self.extra_where)) if ((not (self.select or self.where))
and self.include_translation_data): and self.include_translation_data):
obj = self.clone(extra_select = {}, obj = self.clone(extra_select = {},
extra_join = {}, extra_join = {},
Expand Down

0 comments on commit cc2c0fa

Please sign in to comment.