Commit 04d5bdd9 by Sébastien Eustace

Fix packages not found for custom repositories

parent 5e1f50e3
......@@ -15,6 +15,7 @@
- Fixed versions detection in custom repositories.
- Fixed package finding with multiple custom repositories.
- Fixed handling of root incompatibilities.
- Fixed an error where packages from custom repositories would not be found.
## [0.10.3] - 2018-06-04
......
......@@ -63,7 +63,11 @@ class Pool(BaseRepository):
def package(self, name, version, extras=None):
for repository in self._repositories:
package = repository.package(name, version, extras=extras)
try:
package = repository.package(name, version, extras=extras)
except ValueError:
continue
if package:
self._packages.append(package)
......
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