diff options
| author | Larry O'Neill <larryoneill@gmail.com> | 2013-10-14 20:13:14 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-14 18:12:00 -0400 |
| commit | 83b9bfea44e23c5770fa14a8921914839929233b (patch) | |
| tree | 38039b835449a0dd8d0283286f7dbcf92ce5180a /django/contrib/gis/db/models/sql/where.py | |
| parent | 42a67ec1cd8cbaffd87f0a7b34714f7d4a259cfb (diff) | |
Fixed #21266 -- Fixed E201,E202 pep8 warnings.
Diffstat (limited to 'django/contrib/gis/db/models/sql/where.py')
| -rw-r--r-- | django/contrib/gis/db/models/sql/where.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/db/models/sql/where.py b/django/contrib/gis/db/models/sql/where.py index c29533bf84..b37cda2185 100644 --- a/django/contrib/gis/db/models/sql/where.py +++ b/django/contrib/gis/db/models/sql/where.py @@ -36,8 +36,8 @@ class GeoWhereNode(WhereNode): def _prepare_data(self, data): if isinstance(data, (list, tuple)): obj, lookup_type, value = data - if ( isinstance(obj, Constraint) and - isinstance(obj.field, GeometryField) ): + if (isinstance(obj, Constraint) and + isinstance(obj.field, GeometryField)): data = (GeoConstraint(obj), lookup_type, value) return super(GeoWhereNode, self)._prepare_data(data) |
