From a2aa5646df4ea04a8190a67b0263460f3d618b3f Mon Sep 17 00:00:00 2001 From: Pierre-Jean Grenier Date: Thu, 8 Aug 2019 14:35:51 +0200 Subject: [PATCH] chg: Return empty list instead of None In all cases but one, the 3rd returned object is a (potentially empty) list. --- pymisp/tools/create_misp_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/tools/create_misp_object.py b/pymisp/tools/create_misp_object.py index 391fbc4..e1bb355 100644 --- a/pymisp/tools/create_misp_object.py +++ b/pymisp/tools/create_misp_object.py @@ -90,4 +90,4 @@ def make_binary_objects(filepath=None, pseudofile=None, filename=None, standalon logger.warning(e) if not HAS_LIEF: logger.warning('Please install lief, documentation here: https://github.com/lief-project/LIEF') - return misp_file, None, None + return misp_file, None, []