diff -r 34d9de030564 -r 1e39c5e91b68 dataimport.py --- a/dataimport.py Wed Feb 12 17:32:49 2014 +0100 +++ b/dataimport.py Fri Feb 14 16:10:36 2014 +0100 @@ -1116,9 +1116,9 @@ def _handle_source_relation_sql(self, session, sql, attrs): self._append_to_entities(sql, attrs) - # XXX add_info is similar to the one in NativeSQLSource. It is rewritten - # here to correctly used the _handle_xxx of the SQLGenSourceWrapper. This - # part should be rewritten in a more clearly way. + # 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, session, entity, source, extid, complete): """add type and source info for an eid into the system table""" # begin by inserting eid/type/source/extid into the entities table