diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-17 05:27:34 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-17 05:27:34 -0700 |
commit | 98788d3c3af9f6cce2b94c276d17726f46608b08 (patch) | |
tree | 0f6be6fe1458995424e06ed11e178a515d922366 /django/contrib/gis/gdal/geometries.py | |
parent | a921f0634583e2f87475e802e2674e7159b4f25b (diff) | |
download | django-98788d3c3af9f6cce2b94c276d17726f46608b08.tar.gz |
Remove some unnecesary uses of bool
Diffstat (limited to 'django/contrib/gis/gdal/geometries.py')
-rw-r--r-- | django/contrib/gis/gdal/geometries.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/gdal/geometries.py b/django/contrib/gis/gdal/geometries.py index 139cebefac..f9b94ea7fd 100644 --- a/django/contrib/gis/gdal/geometries.py +++ b/django/contrib/gis/gdal/geometries.py @@ -122,7 +122,7 @@ class OGRGeometry(GDALBase): self.ptr = g # Assigning the SpatialReference object to the geometry, if valid. - if bool(srs): + if srs: self.srs = srs # Setting the class depending upon the OGR Geometry Type |