Commit c426192e by Sébastien Eustace

Fix resolution with bad (empty) releases

parent 749ebc02
# Change Log
## [Unreleased]
### Fixed
- Fixed resolution with bad (empty) releases.
## [0.8.0] - 2018-04-13
### Added
......
......@@ -89,6 +89,10 @@ class PyPiRepository(Repository):
versions = []
for version, release in info['releases'].items():
if not release:
# Bad release
continue
if (
not constraint
or (constraint and constraint.matches(Constraint('=', version)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment