scanpypi: ignore empty elements in package requirements
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 26 Jan 2018 12:54:06 +0000 (13:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 26 Jan 2018 13:43:28 +0000 (14:43 +0100)
commit09ec6d7f648cea0229739eff5f7686901c6f76cb
treeafeb3d42330f58048f6c7fc546668cece06c8492
parentbb5bb052c60d9ade0e6c4f953edd45820667ae0c
scanpypi: ignore empty elements in package requirements

Depending on how setup.py reads requirements files empty elements can occur.
This patch takes care, that such elements will be ignored and don't crash
the scanpypi script.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
utils/scanpypi