diff options
author | iarspider <iarspider@gmail.com> | 2020-10-22 02:16:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 19:16:11 -0500 |
commit | 399ca3b671ec15a44b7ea24d27d91f960b78274a (patch) | |
tree | 4d885c1a2c23819c3b0386ba85586313f9e1a6b6 /lib/spack | |
parent | 5a0303860d6a5b9614c879ca96a8175843e3fa8b (diff) | |
download | spack-399ca3b671ec15a44b7ea24d27d91f960b78274a.tar.gz spack-399ca3b671ec15a44b7ea24d27d91f960b78274a.tar.bz2 spack-399ca3b671ec15a44b7ea24d27d91f960b78274a.tar.xz spack-399ca3b671ec15a44b7ea24d27d91f960b78274a.zip |
Add qgraf (#19404)
* Add recipe for qgraf
* Revert "Add recipe for qgraf"
This reverts commit 76783f73867a32b4a96e980e31a433ed3c0037fd.
* Add qgraf
* Update package.py
Changes from review
* Changes from MR
* Fix for URLs containing @ symbol
Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'lib/spack')
-rw-r--r-- | lib/spack/spack/url.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py index 4969d5f353..aa40524ae8 100644 --- a/lib/spack/spack/url.py +++ b/lib/spack/spack/url.py @@ -31,7 +31,7 @@ from six import StringIO from six.moves.urllib.parse import urlsplit, urlunsplit import llnl.util.tty as tty -from llnl.util.tty.color import colorize +from llnl.util.tty.color import cescape, colorize import spack.error import spack.util.compression as comp @@ -898,6 +898,9 @@ def color_url(path, **kwargs): errors (bool): Append parse errors at end of string. subs (bool): Color substitutions as well as parsed name/version. """ + # Allow URLs containing @ and } + path = cescape(path) + errors = kwargs.get('errors', False) subs = kwargs.get('subs', False) |