From 306efc8e454cec9e522fda6528313c689fdf4dfd Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Tue, 3 Nov 2015 00:35:50 +0500 Subject: [1.9.x] Fixed #25661 -- Fixed checking number of points during list assignment for `LinearRing`. Backport of 1b598b4b4 from master. --- django/contrib/gis/geos/linestring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') diff --git a/django/contrib/gis/geos/linestring.py b/django/contrib/gis/geos/linestring.py index f1c26af72e..df2a8145c7 100644 --- a/django/contrib/gis/geos/linestring.py +++ b/django/contrib/gis/geos/linestring.py @@ -167,5 +167,5 @@ class LineString(ProjectInterpolateMixin, GEOSGeometry): # LinearRings are LineStrings used within Polygons. class LinearRing(LineString): - _minLength = 4 + _minlength = 4 _init_func = capi.create_linearring -- cgit v1.3