Add missing break
This commit is contained in:
parent
61c0a9b519
commit
5defc38294
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ with file.open('r') as stream:
|
||||||
for rack_face in RACK_FACE_CHOICES:
|
for rack_face in RACK_FACE_CHOICES:
|
||||||
if params['face'] in rack_face:
|
if params['face'] in rack_face:
|
||||||
params['face'] = rack_face[0]
|
params['face'] = rack_face[0]
|
||||||
|
break
|
||||||
|
|
||||||
device, created = Device.objects.get_or_create(**params)
|
device, created = Device.objects.get_or_create(**params)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue