Remove unused variable

This commit is contained in:
Grokzen 2018-05-18 21:24:31 +02:00
parent 187c349fde
commit 170bf4e03d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ with open('/opt/netbox/initializers/custom_fields.yml', 'r') as stream:
custom_field.save()
for idx, choice_details in enumerate(cf_details.get('choices', [])):
choice, created = CustomFieldChoice.objects.get_or_create(
choice, _ = CustomFieldChoice.objects.get_or_create(
field=custom_field,
value=choice_details['value'],
)