Opened 15 years ago
Closed 15 years ago
#12458 closed (fixed)
try-except-finally block in django/contrib/gis/db/backends/postgis/operations.py breaks on Python 2.4
Reported by: | Knut Nesheim | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The try-except-finally block in django/contrib/gis/db/backends/postgis/operations.py in line 412, commited in r11952 breaks on Python 2.4.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | 12458.diff added |
---|
comment:1 by , 15 years ago
Has patch: | set |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [12026]) Fixed #12458 -- no longer use try/except/finally syntax in PostGIS and SpatiaLite backends as it's incompatible with Python 2.4. Thanks, knutin, for bug report and patch.