Added newline and breaks.
This commit is contained in:
parent
821d6c8672
commit
4e1ac2392d
5 changed files with 5 additions and 1 deletions
|
@ -39,6 +39,7 @@ with file.open('r') as stream:
|
|||
for vlan_status in VLAN_STATUS_CHOICES:
|
||||
if params['status'] in vlan_status:
|
||||
params['status'] = vlan_status[0]
|
||||
break
|
||||
|
||||
vlan, created = VLAN.objects.get_or_create(**params)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue