--- a/server/checkintegrity.py Tue Sep 20 15:14:04 2011 +0200
+++ b/server/checkintegrity.py Wed Sep 21 17:38:00 2011 +0200
@@ -47,7 +47,7 @@
sqlcursor.execute('SELECT type, source FROM entities WHERE eid=%s' % eid)
try:
etype, source = sqlcursor.fetchone()
- except:
+ except Exception:
eids[eid] = False
return False
if source and source != 'system':
@@ -58,7 +58,7 @@
{'x': eid}):
eids[eid] = True
return True
- except: # TypeResolverError, Unauthorized...
+ except Exception: # TypeResolverError, Unauthorized...
pass
eids[eid] = False
return False