From 5defc38294228e49ec0c6fc8c66cd9ef62a4c5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Sat, 12 Oct 2019 14:23:11 +0200 Subject: [PATCH] Add missing `break` --- startup_scripts/130_devices.py | 1 + 1 file changed, 1 insertion(+) diff --git a/startup_scripts/130_devices.py b/startup_scripts/130_devices.py index 16c6f9e..2d8d3ca 100644 --- a/startup_scripts/130_devices.py +++ b/startup_scripts/130_devices.py @@ -53,6 +53,7 @@ with file.open('r') as stream: for rack_face in RACK_FACE_CHOICES: if params['face'] in rack_face: params['face'] = rack_face[0] + break device, created = Device.objects.get_or_create(**params)