dataimport.py
changeset 9536 1e39c5e91b68
parent 9515 b0dd5b57d2d8
parent 9522 8154a5748194
child 9543 39f981482e34
child 9597 8e9db17ce129
--- 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