aba74c8eab350d5909c62aa61c6cf5c1a56f46ee
1) use a common try/except block for all ops 2) do not display query and args when DB is locked (could be several hundreds rows) 3) re-raise non locking-related exceptions (e.g. a wrong sql statement) 4) split executemany rows into chunks of 500 (so the caller doesn't have to do it)
Description
No description provided
Languages
Python
74.2%
JavaScript
10.5%
CSS
7.4%
Shell
4%
HTML
3.7%
Other
0.2%