• Antoine Beaupré's avatar
    fix parsing of empty links · 1749debc
    Antoine Beaupré authored
    For some obscure reason, with the test feed provided in #5, the
    resulting link is no available in the feed at all, which crashes the
    normalize routine. That is because urlparse.urlsplit returns a
    different type on strings (which are used in the normal path) or
    "None" (which is used when the link is not present).
    
    We fix this by defaulting to the empty string, although this probably
    means that feed2exec will have trouble adapting to that feed in the
    first place, but that's another bug.
    
    Closes: #5
    1749debc
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
completion Loading commit data...
debian Loading commit data...
doc Loading commit data...
feed2exec Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG Loading commit data...
CODE_OF_CONDUCT.rst Loading commit data...
CONTRIBUTING.rst Loading commit data...
LICENSE.rst Loading commit data...
README.rst Loading commit data...
feed2exec.ini Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...