server/sources/native.py
changeset 9448 3e7cad3967c5
parent 9447 0636c4960259
child 9450 af4b93bc38a5
--- a/server/sources/native.py	Thu Jun 27 08:30:46 2013 +0200
+++ b/server/sources/native.py	Tue Jan 21 18:11:30 2014 +0100
@@ -968,7 +968,7 @@
             if extid is not None:
                 assert isinstance(extid, str)
                 extid = b64encode(extid)
-            uri = 'system' if source.copy_based_source else source.uri
+            uri = 'system'
             attrs = {'type': entity.cw_etype, 'eid': entity.eid, 'extid': extid,
                      'source': uri, 'asource': source.uri, 'mtime': datetime.utcnow()}
             self._handle_insert_entity_sql(session, self.sqlgen.insert('entities', attrs), attrs)