changeset 10809 | 359cbdf3a515 |
parent 10514 | b29d9904482e |
child 10939 | b30c2f49da57 |
--- a/dataimport/importer.py Fri Oct 16 17:04:30 2015 +0200 +++ b/dataimport/importer.py Fri Oct 16 17:06:12 2015 +0200 @@ -69,7 +69,7 @@ def use_extid_as_cwuri_filter(extentities): for extentity in extentities: if extentity.extid not in extid2eid: - extentity.values.setdefault('cwuri', set([unicode(extentity.extid)])) + extentity.values.setdefault('cwuri', set([extentity.extid.decode('utf-8')])) yield extentity return use_extid_as_cwuri_filter