changeset 10939 | b30c2f49da57 |
parent 10907 | 9ae707db5265 |
--- a/dataimport/deprecated.py Mon Nov 30 10:18:22 2015 +0100 +++ b/dataimport/deprecated.py Mon Nov 30 11:09:51 2015 +0100 @@ -294,7 +294,7 @@ """Given an entity type and eid, updates the corresponding fake entity with specified attributes and inlined relations. """ - assert eid in self.types[etype], 'Trying to update with wrong type {}'.format(etype) + assert eid in self.types[etype], 'Trying to update with wrong type %s' % etype data = self.eids[eid] data.update(kwargs)