projects
/
invirt/packages/invirt-dns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sqlalchemy api changes
[invirt/packages/invirt-dns.git]
/
invirt-dns
diff --git
a/invirt-dns
b/invirt-dns
index
672d1f4
..
5b24d31
100755
(executable)
--- a/
invirt-dns
+++ b/
invirt-dns
@@
-45,7
+45,7
@@
class DatabaseAuthority(common.ResolverBase):
for i in range(3):
try:
value = self._lookup_unsafe(name, cls, type, timeout = None)
for i in range(3):
try:
value = self._lookup_unsafe(name, cls, type, timeout = None)
- except (psycopg2.OperationalError, sqlalchemy.exceptions.SQLError):
+ except (psycopg2.OperationalError, sqlalchemy.exceptions.DBAPIError):
if i == 2:
raise
print "Reloading database"
if i == 2:
raise
print "Reloading database"