[dataimport] Drop reference to the 'source' column (closes #4067694).
CW 3.19 drops the multi-source support. This column does not exist in 3.19.
--- a/dataimport.py Thu Apr 03 19:56:05 2014 +0200
+++ b/dataimport.py Tue May 06 18:32:03 2014 +0200
@@ -1114,7 +1114,6 @@
def _handle_insert_entity_sql(self, session, sql, attrs):
# We have to overwrite the source given in parameters
# as here, we directly use the system source
- attrs['source'] = 'system'
attrs['asource'] = self.system_source.uri
self._append_to_entities(sql, attrs)
@@ -1137,7 +1136,7 @@
assert isinstance(extid, str)
extid = b64encode(extid)
attrs = {'type': entity.cw_etype, 'eid': entity.eid, 'extid': extid,
- 'source': 'system', 'asource': source.uri}
+ 'asource': source.uri}
self._handle_insert_entity_sql(session, self.sqlgen.insert('entities', attrs), attrs)
# insert core relations: is, is_instance_of and cw_source
try: