revert change, but there's something fishy here stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 16 Oct 2009 18:41:40 +0200
branchstable
changeset 3712 4b8d7838d74d
parent 3711 486a29d66f2a
child 3713 a090324efefe
revert change, but there's something fishy here
devtools/fill.py
--- 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: