Opened 6 years ago

Closed 6 years ago

#12458 closed (fixed)

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

Reported by: knutin 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 knutin 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by knutin

comment:1 Changed 6 years ago by knutin

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by jbronn

  • Resolution set to fixed
  • Status changed from new to closed

(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