Kaydet (Commit) f9f9f3ad authored tarafından Tim Graham's avatar Tim Graham

Fixed flake8 warning.

üst 157c42a9
...@@ -358,7 +358,7 @@ class QuerySet(object): ...@@ -358,7 +358,7 @@ class QuerySet(object):
if self.query.can_filter(): if self.query.can_filter():
clone = clone.order_by() clone = clone.order_by()
if (not clone.query.select_for_update or 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] clone = clone[:MAX_GET_RESULTS + 1]
num = len(clone) num = len(clone)
if num == 1: if num == 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment