fields is already defined as a dict, so instead of using a list we can use the keys of fields.
Unit test were failing because of the redefinition fields from dict to list.
Signed-off-by: Clement Verna cverna@tutanota.com
You can/should drop the .keys() here :)
.keys()
rebased onto 7594bf569da42b923b7d5edab174f06d486a1661
Nice :)
Pull-Request has been merged by pingou
fields is already defined as a dict, so instead of using a list we can use the keys of fields.
Unit test were failing because of the redefinition fields from dict to list.
Signed-off-by: Clement Verna cverna@tutanota.com