devtools/fill.py
branchstable
changeset 7815 2a164a9cf81c
parent 7445 5331ba22c0e0
child 7995 9a9f35ef418c
--- a/devtools/fill.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/devtools/fill.py	Wed Sep 21 17:38:00 2011 +0200
@@ -352,7 +352,7 @@
         if objtype:
             rql += ', %s is %s' % (selectvar, objtype)
         rset = cursor.execute(rql)
-    except:
+    except Exception:
         print "could restrict eid_list with given constraints (%r)" % constraints
         return []
     return set(eid for eid, in rset.rows)