Remove unused variable

This commit is contained in:
Grokzen 2018-05-18 21:24:31 +02:00
parent 187c349fde
commit 170bf4e03d

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'],
)