Pep8 80 cols on examples/widgets/lists/fixtures.py

This commit is contained in:
Zen-CODE 2014-09-07 09:01:36 +02:00
parent fec6bf2c22
commit 93e470249e
1 changed files with 4 additions and 2 deletions

View File

@ -152,7 +152,8 @@ fruit_data_attribute_units = ['(g)',
'(%DV)',
'(%DV)']
attributes_and_units = dict(list(zip(fruit_data_attributes, fruit_data_attribute_units)))
attributes_and_units = dict(list(zip(fruit_data_attributes,
fruit_data_attribute_units)))
fruit_data = {}
for fruit_record in fruit_data_list_of_dicts:
@ -161,4 +162,5 @@ for fruit_record in fruit_data_list_of_dicts:
dict({'name': fruit_record['name'],
'Serving Size': fruit_record['Serving Size'],
'is_selected': fruit_record['is_selected']},
**dict(list(zip(list(attributes_and_units.keys()), fruit_record['data']))))
**dict(list(zip(list(attributes_and_units.keys()),
fruit_record['data']))))