summaryrefslogtreecommitdiffstats
path: root/package/python-validators
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2018-06-13 09:37:10 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-06-15 14:06:43 +0200
commitfb775f4c87c627537efbb56f2663d6079489f018 (patch)
tree088e9e5184394c4c9ebe3a9f497ee26a4e024320 /package/python-validators
parent3bf2745a0f310f2d0b173cc30645bb8ecadaa0a2 (diff)
downloadbuildroot-fb775f4c87c627537efbb56f2663d6079489f018.tar.gz
buildroot-fb775f4c87c627537efbb56f2663d6079489f018.zip
scanpypi: rework download_package error handling
Some packages don't provide source archive but only a wheel file. In this case download variable is not defined. So define this variable at the very beginning and check whether it is None after searching for source archives in the metadata. Bonus: fix PEP8 issue with wrong indentation. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-validators')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud