remove falsey items from dependencies list
This commit is contained in:
parent
6651f4eb35
commit
f04b70583a
1 changed files with 1 additions and 1 deletions
|
@ -131,5 +131,5 @@ class DependencyParser(object):
|
|||
if self.parser:
|
||||
plugin = self.parser(self.source_file, lexer=self.lexer)
|
||||
dependencies = plugin.parse()
|
||||
return list(set(dependencies))
|
||||
return list(filter(bool, set(dependencies)))
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue