Skip to content

Commit

Permalink
Merge pull request #1524 from epfl-scitas/bugfix/urls
Browse files Browse the repository at this point in the history
stripping the links to remove spaces and '\n'
  • Loading branch information
tgamblin committed Aug 15, 2016
2 parents 1e673bf + 37faa41 commit ae20e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spack/spack/util/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _spider(args):

while link_parser.links:
raw_link = link_parser.links.pop()
abs_link = urlparse.urljoin(response_url, raw_link)
abs_link = urlparse.urljoin(response_url, raw_link.strip())

links.add(abs_link)

Expand Down

0 comments on commit ae20e53

Please sign in to comment.