summaryrefslogtreecommitdiffstats
path: root/tupkg/server/tupkgs
diff options
context:
space:
mode:
authorsimo <simo>2005-12-18 06:10:04 +0100
committersimo <simo>2005-12-18 06:10:04 +0100
commitadcf3cecd0071544a855dc72295f0f3fc9aab3cd (patch)
tree4cd027a6dbc216ab1ae5cf2b49634e9d7560ad0b /tupkg/server/tupkgs
parent2d59d0d873d381a35353fc45a21388fdcfb43c03 (diff)
downloadaur-adcf3cecd0071544a855dc72295f0f3fc9aab3cd.tar.gz
aur-adcf3cecd0071544a855dc72295f0f3fc9aab3cd.tar.xz
fixed persistent mysql connections in tupkgupdate
Diffstat (limited to 'tupkg/server/tupkgs')
-rwxr-xr-xtupkg/server/tupkgs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index 2d7205bc..3b2c5100 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -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: