devtools/fill.py
branchstable
changeset 3711 486a29d66f2a
parent 3689 deb13e88e037
child 3712 4b8d7838d74d
--- a/devtools/fill.py	Fri Oct 16 10:59:11 2009 +0200
+++ b/devtools/fill.py	Fri Oct 16 18:35:24 2009 +0200
@@ -397,9 +397,12 @@
             restrictions = ', '.join(c.restriction for c in constraints)
             q += ', %s' % restrictions
             # restrict object eids if possible
-            objeids = select(restrictions, self.cursor)
-        else:
-            objeids = oedict.get(obj, frozenset())
+            # XXX the attempt to restrict below in completely wrong
+            # disabling it for now
+##             objeids = select(restrictions, self.cursor)
+##         else:
+##             objeids = oedict.get(obj, frozenset())
+        objeids = oedict.get(obj, frozenset())
         if subjcard in '?1' or objcard in '?1':
             for subjeid, objeid in used:
                 if subjcard in '?1' and subjeid in subjeids: