summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/models/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py
index 942ee7efa3..30fd786a33 100644
--- a/django/db/models/query.py
+++ b/django/db/models/query.py
@@ -346,7 +346,7 @@ class QuerySet(object):
if self.query.can_filter():
clone = clone.order_by()
if (not clone.query.select_for_update or
- connections[self.db].features.supports_select_for_update_with_limit):
+ connections[self.db].features.supports_select_for_update_with_limit):
clone = clone[:MAX_GET_RESULTS + 1]
num = len(clone)
if num == 1: