[dataimport] source.add_info doesn't take anymore a 'complete' argument
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 30 Jan 2015 15:43:28 +0100
changeset 10190 252e8f7ff9ea
parent 10189 0b141ffcdd74
child 10191 cc4b8021bdf3
[dataimport] source.add_info doesn't take anymore a 'complete' argument Closes #4891550
dataimport.py
--- a/dataimport.py	Fri Jan 30 15:28:24 2015 +0100
+++ b/dataimport.py	Fri Jan 30 15:43:28 2015 +0100
@@ -792,7 +792,7 @@
         entity.cw_edited.update(kwargs, skipsec=False)
         cnx = self._cnx
         self.source.add_entity(cnx, entity)
-        self.source.add_info(cnx, entity, self.source, None, complete=False)
+        self.source.add_info(cnx, entity, self.source, None)
         kwargs = dict()
         if inspect.getargspec(self.add_relation).keywords:
             kwargs['subjtype'] = entity.cw_etype
@@ -1129,7 +1129,7 @@
     # add_info is _copypasted_ from the one in NativeSQLSource. We want it
     # there because it will use the _handlers of the SQLGenSourceWrapper, which
     # are not like the ones in the native source.
-    def add_info(self, cnx, entity, source, extid, complete):
+    def add_info(self, cnx, entity, source, extid):
         """add type and source info for an eid into the system table"""
         # begin by inserting eid/type/source/extid into the entities table
         if extid is not None: