coleifer/peewee — pull request #225 by BeanYoung (2013-08-23 03:10:24+00:00)
Title: add auto reconnect in execute_sql

I use peewee with tornado, and all requests share one database connection, but when something wrong happens with database, the connection will be unavaliable. So I added a ```try exception``` block in ```execute_sql()```, and this works fine for me.