mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
fixed persistent mysql connections in tupkgupdate
This commit is contained in:
parent
2d59d0d873
commit
adcf3cecd0
2 changed files with 6 additions and 2 deletions
|
@ -132,7 +132,7 @@ class ClientSocket(threading.Thread):
|
|||
MySQLdb.escape_string(encpw)+
|
||||
"'")
|
||||
dbconn.close()
|
||||
except MySQLdb.OperationalError:
|
||||
except :
|
||||
self.sendMsg("result=SQLERR")
|
||||
return 0
|
||||
if q.rowcount == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue