Skip to content

Commit

Permalink
Fix for issue #255 when using user_fields (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Feb 26, 2020
1 parent 14bf5a4 commit 19821ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anaconda_project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _unknown_field_suggestions(project_file, problems, yaml_dict, known_fields):


def _add_user_fields(yaml_dict, known_fields):
user_fields = yaml_dict['user_fields']
user_fields = deepcopy(yaml_dict['user_fields'])
user_fields.append('user_fields')
all = [known_fields, user_fields]
return [i for sub in all for i in sub]
Expand Down

0 comments on commit 19821ac

Please sign in to comment.