Commit 07a9450d authored by Romain Bignon's avatar Romain Bignon

fix commit of cbenz: please, test you changes before pushing!

parent cd56abe7
......@@ -99,10 +99,11 @@ class IFormatter(object):
d = dict(d)
for selected_field in selected_fields:
v = d[selected_field]
if selected_field in id_fields and backend_name is not None:
v = self.build_id(v, backend_name)
yield selected_field, d[selected_field]
yield selected_field, v
except KeyError:
raise FieldNotFound(selected_field)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment