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/gdal/geometries.py | |
parent | 42a67ec1cd8cbaffd87f0a7b34714f7d4a259cfb (diff) | |
download | django-83b9bfea44e23c5770fa14a8921914839929233b.tar.gz |
Fixed #21266 -- Fixed E201,E202 pep8 warnings.
Diffstat (limited to 'django/contrib/gis/gdal/geometries.py')
-rw-r--r-- | django/contrib/gis/gdal/geometries.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/gdal/geometries.py b/django/contrib/gis/gdal/geometries.py index a168c79686..2b051cdca8 100644 --- a/django/contrib/gis/gdal/geometries.py +++ b/django/contrib/gis/gdal/geometries.py @@ -151,8 +151,8 @@ class OGRGeometry(GDALBase): def from_bbox(cls, bbox): "Constructs a Polygon from a bounding box (4-tuple)." x0, y0, x1, y1 = bbox - return OGRGeometry( 'POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))' % ( - x0, y0, x0, y1, x1, y1, x1, y0, x0, y0) ) + return OGRGeometry('POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))' % ( + x0, y0, x0, y1, x1, y1, x1, y0, x0, y0)) ### Geometry set-like operations ### # g = g1 | g2 |