Menu

#2 ForgetSQL breaks with Python 2.6

v1.0 (example)
closed
nobody
None
5
2015-11-28
2009-04-27
Anonymous
No

Python 2.6 doesn't allow string exceptions, so you get:

File "/var/lib/python-support/python2.6/forgetSQL.py", line 212, in __new__
raise "NotFound"
TypeError: exceptions must be classes or instances, not str

Also, the author's name requires an encoding. The attached patch fixed both problems.

Discussion

  • Nobody/Anonymous

     
  • Stian Soiland-Reyes

    • status: open --> closed
    • Group: --> v1.0 (example)
     

Log in to post a comment.