MySQLdb UPDATE does nothing

Simon Brunning simon.brunning at gmail.com
Thu Sep 15 08:15:59 EDT 2005


On 9/15/05, John Moore <john at jmsd.co.uk> wrote:
> I tried that, but got this:
> 
> Traceback (most recent call last):
>   File "moddb.py", line 31, in ?
>     cursor.commit()
> AttributeError: 'Cursor' object has no attribute 'commit'

Oops. I should have said connection.commit(). Posting before thinking again.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list