#284 Bad raise syntax at sqlobject/col.py lines 289 & 476

open
Oleg Broytman
None
5
2014-05-17
2014-05-16
Dan Bullok
No

There is a syntax error in sqlobject/col.py", lines 289 & 476
These lines uses the old python2 syntax for raising an exception, which doesn't work with python 3. Simple fix: just remove the comma after ValueError.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2014-05-17

    • assigned_to: Oleg Broytman
    • Group: SQLObject_from_repository --> SQLObject_release_(specify)
     
  • Oleg Broytman
    Oleg Broytman
    2014-05-17

    What version of SQLObject are you using? I.e., to what branch should I commit the fix? Currently I maintain branches 1.5, 1.6, 1.7 and the trunk.

    PS. Are you really using SO with Python 3+? What version of FormEncode are you using? AFAIK it was not ported to Py3.

     
    Last edit: Oleg Broytman 2014-06-14