Modify

Ticket #1096 (closed defect: worksforme)

Opened 2 years ago

Last modified 23 months ago

SyntaxError on python2.5 with Firebird driver

Reported by: admackin@… Owned by: andrew
Priority: major Milestone: 1.0
Component: commands Version: unknown
Keywords: Cc:

Description

AFAICT South targets Python 2.4 (presumably once Django 1.5 is released it will follow Django in no longer support 2.4 or 2.5). However in the Firebird driver, there is some syntax only available in python 2.6 and above.

(I'm using Jython for various reasons, so can only get 2.5 support at the moment)

  Running setup.py install for south
      File "/var/django-sites/icaredemo/jython-venv/Lib/site-packages/south/db/firebird.py", line 288
        except DatabaseError as e:
                            ^
    SyntaxError: mismatched input 'as' expecting COLON

Presumably this should be except DatabaseError as e: until support for python 2.5 is dropped..

Attachments

Change History

comment:1 Changed 2 years ago by anonymous

(version 0.7.5 btw - can't get Trac to let me modify)

comment:2 Changed 23 months ago by andrew

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone set to 1.0

This seems to have already been fixed [eeb66823f1a4].

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.