devtools/fill.py
branchstable
changeset 3712 4b8d7838d74d
parent 3711 486a29d66f2a
child 3742 20f429eb5f46
--- a/devtools/fill.py	Fri Oct 16 18:35:24 2009 +0200
+++ b/devtools/fill.py	Fri Oct 16 18:41:40 2009 +0200
@@ -399,10 +399,10 @@
             # restrict object eids if possible
             # 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())
+            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: