diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-07 10:11:15 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-07 10:12:09 -0400 |
| commit | 4c56b6f820df969e270738ce6cc1cdce3f024334 (patch) | |
| tree | 2237cc5ddc1d99110a926389033d7cde7779413e | |
| parent | a7336cdcbe90cfb32561b2f68dbe2ef40d544db8 (diff) | |
[1.7.x] Fixed flake8 warning.
Backport of f9f9f3ad60 from master
| -rw-r--r-- | django/db/models/query.py | 2 |
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: |
