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
This commit is contained in:
Justin Bronn 2009-03-31 15:49:25 +00:00
parent f2df3650d6
commit 3a0950739b
1 changed files with 1 additions and 0 deletions

View File

@ -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