Skip to content

Commit

Permalink
PEP8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed May 9, 2017
1 parent 8fbe7ba commit a35f8bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox/dcim/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,8 @@ class BaseDeviceFromCSVForm(forms.ModelForm):
)
model_name = forms.CharField()
platform = forms.ModelChoiceField(
queryset=Platform.objects.all(), required=False, to_field_name='name'
, error_messages={'invalid_choice': 'Invalid platform.'}
queryset=Platform.objects.all(), required=False, to_field_name='name',
error_messages={'invalid_choice': 'Invalid platform.'}
)
status_name = forms.ChoiceField(choices=[(s[1], s[0]) for s in STATUS_CHOICES])

Expand Down

0 comments on commit a35f8bd

Please sign in to comment.