diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-15 13:42:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 13:42:38 -0700 |
commit | ae20e53cfba0f5689c72657a022295442dd4134e (patch) | |
tree | 0d85a65a2d425361284779e40588030a1edd789f | |
parent | 1e673bfa42c16afe296de6bc1ce3559af96c10c1 (diff) | |
parent | 37faa41b6f1160de5e15d13fafdcefe42cb40bde (diff) | |
download | spack-ae20e53cfba0f5689c72657a022295442dd4134e.tar.gz spack-ae20e53cfba0f5689c72657a022295442dd4134e.tar.bz2 spack-ae20e53cfba0f5689c72657a022295442dd4134e.tar.xz spack-ae20e53cfba0f5689c72657a022295442dd4134e.zip |
Merge pull request #1524 from epfl-scitas/bugfix/urls
stripping the links to remove spaces and '\n'
-rw-r--r-- | lib/spack/spack/util/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py index 25f1e605d6..29ed6e0d32 100644 --- a/lib/spack/spack/util/web.py +++ b/lib/spack/spack/util/web.py @@ -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) |