Commit 54db192e authored by Gabriel Detraz's avatar Gabriel Detraz Committed by chirac

Rattrapage d'une erreur index Error sur la récupération du vendeur

parent 56fdfca1
Pipeline #2355 passed with stage
in 3 minutes and 34 seconds
......@@ -1131,7 +1131,7 @@ class Interface(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model):
oui = mac.oui
vendor = oui.registration().org
except NotRegisteredError:
except (IndexError, NotRegisteredError) as error:
vendor = _("Unknown vendor.")
return vendor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment