Skip to content
Snippets Groups Projects
Commit e4e6a0b0719a authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

[sobjects] fix fresh.workcases importer

In extentities generator, extid is cwuri from database which is a text field.
So in python3 exteid2eid[extid] wasn't matching anything because extid was bytes.
Use text extid instead.
parent 923b1d1e2d12
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,6 @@
' X cw_source S, S eid %(s)s'.format(etype),
{'s': self.source.eid})
for extid, eid in rset:
extid = extid.encode('ascii')
self._source_uris[extid] = (eid, etype)
yield extid, eid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment