From f9f9f3ad6073c353af924ed90c9386efd7bde8ac Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 7 Aug 2014 10:11:15 -0400 Subject: [PATCH] Fixed flake8 warning. --- django/db/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/query.py b/django/db/models/query.py index ba99307aa3..013da72862 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -358,7 +358,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: