From a9f3ea9e51cd2198bcad034342364efff122e7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Wed, 11 Oct 2017 10:26:04 +0200 Subject: [PATCH] =?UTF-8?q?Pour=20rattraper=20une=20SNMPException,=20il=20?= =?UTF-8?q?faut=20d'abord=20l'avoir=20import=C3=A9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printer/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/printer/models.py b/printer/models.py index 1a770fa..8db78f8 100644 --- a/printer/models.py +++ b/printer/models.py @@ -3,6 +3,7 @@ from django.core.urlresolvers import reverse from snimpy.manager import Manager from snimpy.manager import load +from snimpy.snmp import SNMPException class Printer(models.Model): STATUS_CHOICES = ( -- GitLab