Opened 8 years ago

Closed 8 years ago

#12458 closed (fixed)

try-except-finally block in django/contrib/gis/db/backends/postgis/ breaks on Python 2.4

Reported by: Knut Nesheim Owned by: nobody
Component: GIS Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The try-except-finally block in django/contrib/gis/db/backends/postgis/ in line 412, commited in r11952 breaks on Python 2.4.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Knut Nesheim

Attachment: 12458.diff added

comment:1 Changed 8 years ago by Knut Nesheim

Has patch: set

comment:2 Changed 8 years ago by jbronn

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