chg: Return empty list instead of None

In all cases but one, the 3rd returned object is a (potentially empty) list.
pull/434/head
Pierre-Jean Grenier 2019-08-08 14:35:51 +02:00 committed by GitHub
parent 783b84899d
commit a2aa5646df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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, []