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)

12458.diff (856 bytes ) - added by Knut Nesheim 15 years ago.

Download all attachments as: .zip

Change History (3)

by Knut Nesheim, 15 years ago

Attachment: 12458.diff added

comment:1 by Knut Nesheim, 15 years ago

Has patch: set

comment:2 by jbronn, 15 years ago

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.
Back to Top