Commit 3a095073 authored by Justin Bronn's avatar Justin Bronn
Browse files

Fixed #9437 -- Now close database connection within `get_srid_info`. Thanks, mattxbart.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@10254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent f2df3650
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -286,6 +286,7 @@ if not PYTHON23:
                srs_wkt = SpatialReference(fetched[0]).wkt
            else:
                srs_wkt = fetched[0]
            connection.close()

            # Getting metadata associated with the spatial reference system identifier.
            # Specifically, getting the unit information and spheroid information