#2891 Use fields keys instead of creating a new list
Merged by pingou. Opened by cverna.
cverna/pagure fix_ui_issue  into  master

Download 2891.patch

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 :)

rebased onto 7594bf569da42b923b7d5edab174f06d486a1661

Pull-Request has been merged by pingou

Metadata