mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #28982 -- Simplified code with and/or.
This commit is contained in:
parent
c2d0f8c084
commit
d7b2aa24f7
55 changed files with 98 additions and 218 deletions
|
@ -62,10 +62,7 @@ class TestGeom(TestObj):
|
|||
self.coords = tuplize(coords)
|
||||
if centroid:
|
||||
self.centroid = tuple(centroid)
|
||||
if ext_ring_cs:
|
||||
ext_ring_cs = tuplize(ext_ring_cs)
|
||||
self.ext_ring_cs = ext_ring_cs
|
||||
|
||||
self.ext_ring_cs = ext_ring_cs and tuplize(ext_ring_cs)
|
||||
super().__init__(**kwargs)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue