remove unneeded continue

This commit is contained in:
Matthias 2022-02-20 04:29:46 +01:00
parent d5bcd256f6
commit e9b501f7eb
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -475,7 +475,6 @@ def extract_serial_numbers(serials, expected_quantity, next_number: int):
continue
else:
errors.append(_("Invalid group: {g}").format(g=group))
continue
# plus signals either
# 1: 'start+': expected number of serials, starting at start
@ -500,7 +499,6 @@ def extract_serial_numbers(serials, expected_quantity, next_number: int):
# no case
else:
errors.append(_("Invalid group: {g}").format(g=group))
continue
# Group should be a number
elif group: