fix: Don't use Enum in snmp-scan.py (#7036)

This commit is contained in:
Tony Murray
2017-07-14 15:56:47 -05:00
committed by Neil Lathwood
parent e8282a4b6b
commit b36d3d3408

View File

@ -34,8 +34,6 @@ from subprocess import check_output, CalledProcessError
from sys import stdout
from time import time
from enum import Enum
try:
from ipaddress import ip_network, ip_address
except:
@ -45,7 +43,7 @@ except:
Result = namedtuple('Result', ['ip', 'hostname', 'outcome', 'output'])
class Outcome(Enum):
class Outcome:
UNDEFINED = 0
ADDED = 1
UNPINGABLE = 2