diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-07-13 21:41:00 +0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-13 11:41:00 -0400 |
| commit | 8ab2ae44045478f7ece696385f432fe83f84e4c0 (patch) | |
| tree | 226564bcf02d6ff555bfe686231d03f97190c637 | |
| parent | ce834d0891fe7e60f73a524ba60b485fd2e7bd31 (diff) | |
Removed unneeded index check in LineString._set_single() as index is already checked in __getitem__().
Unneeded since its introduction in 66e1670efae34d721e374788e4c3f8b5fe5fa481.
| -rw-r--r-- | django/contrib/gis/geos/linestring.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/contrib/gis/geos/linestring.py b/django/contrib/gis/geos/linestring.py index dd220d2bc3..2b909af7b8 100644 --- a/django/contrib/gis/geos/linestring.py +++ b/django/contrib/gis/geos/linestring.py @@ -122,7 +122,6 @@ class LineString(LinearGeometryMixin, GEOSGeometry): raise GEOSException('Geometry resulting from slice deletion was invalid.') def _set_single(self, index, value): - self._checkindex(index) self._cs[index] = value def _checkdim(self, dim): |
