Message6750
mysql tests are passing with mysqlclient 1.4.4
I ended up using:
except MySQLdb.OperationalError as message:
if str(message) != "(2006, '')": # close connection
raise
Not sure if this is 100% correct but it appears to do the trick.
Marking issue pending. Anybody got feedback?
-- rouilj |
|
Date |
User |
Action |
Args |
2019-10-17 02:12:18 | rouilj | set | messageid: <1571278338.18.0.890214265836.issue2551025@roundup.psfhosted.org> |
2019-10-17 02:12:18 | rouilj | set | recipients:
+ rouilj, schlatterbeck, ber, jerrykan |
2019-10-17 02:12:18 | rouilj | link | issue2551025 messages |
2019-10-17 02:12:17 | rouilj | create | |
|