From abac4cfab76c722c1eb307225443d908fee3bb48 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Wed, 21 Apr 2021 17:51:22 +0200 Subject: [PATCH] remove import unused and add package in requirements --- REQUIREMENTS | 3 ++- misp_modules/modules/expansion/yeti.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/REQUIREMENTS b/REQUIREMENTS index 3abe64cb..d76a7b44 100644 --- a/REQUIREMENTS +++ b/REQUIREMENTS @@ -44,7 +44,7 @@ importlib-metadata==1.6.0 ; python_version < '3.8' isodate==0.6.0 jbxapi==3.4.0 jsonschema==3.2.0 -lief==0.10.0 +lief==0.10.1 lxml==4.5.0 maclookup==1.0.3 maxminddb==1.5.2 @@ -107,6 +107,7 @@ websocket-client==0.57.0 wrapt==1.12.1 xlrd==1.2.0 xlsxwriter==1.2.8 +pyeti-python3=1.0 yara-python==3.8.1 yarl==1.4.2 zipp==3.1.0 diff --git a/misp_modules/modules/expansion/yeti.py b/misp_modules/modules/expansion/yeti.py index efb781d8..9136b264 100644 --- a/misp_modules/modules/expansion/yeti.py +++ b/misp_modules/modules/expansion/yeti.py @@ -6,7 +6,7 @@ try: except ImportError: print("pyeti module not installed.") -from pymisp import MISPEvent, MISPObject, MISPAttribute +from pymisp import MISPEvent, MISPObject misperrors = {'error': 'Error'}