summaryrefslogtreecommitdiff
path: root/django/contrib/gis/gdal/geometries.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 05:27:34 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 05:27:34 -0700
commit98788d3c3af9f6cce2b94c276d17726f46608b08 (patch)
tree0f6be6fe1458995424e06ed11e178a515d922366 /django/contrib/gis/gdal/geometries.py
parenta921f0634583e2f87475e802e2674e7159b4f25b (diff)
downloaddjango-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.py2
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