Skip to content
Snippets Groups Projects
Unverified Commit bc3facb3 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

swh.loader.pypi.model: Skip when no release is defined

parent 503aeadf
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,8 @@ class PyPiProject:
# FIXME: there can be multiple 'package_type' here:
# sdist, bdist_egg, bdist_wheel
if isinstance(release, list):
if not release:
continue
if len(release) > 1:
raise ValueError(
'Unsupported other formats for now, failing!')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment