Commit 906f8360 by Sébastien Eustace

Fix bad version number being picked with private repositories

parent d025317d
......@@ -7,6 +7,7 @@
- Fixed `self:update` command on Windows.
- Fixed `self:update` not picking up new versions.
- Fixed a `RuntimeError` on Python 3.7.
- Fixed bad version number being picked with private repositories.
## [0.10.2] - 2018-05-31
......
......@@ -93,7 +93,12 @@ class Page:
pyrequire = anchor.get("data-requires-python")
pyrequire = unescape(pyrequire) if pyrequire else None
yield Link(url, self, requires_python=pyrequire)
link = Link(url, self, requires_python=pyrequire)
if link.ext == ".egg":
continue
yield link
def links_for_version(self, version): # type: (Version) -> Generator[Link]
for link in self.links:
......
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