Skip to content

Commit

Permalink
chg: Return empty list instead of None
Browse files Browse the repository at this point in the history
In all cases but one, the 3rd returned object is a (potentially empty) list.
  • Loading branch information
zaphodef committed Aug 8, 2019
1 parent 783b848 commit a2aa564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymisp/tools/create_misp_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, []

0 comments on commit a2aa564

Please sign in to comment.