Add qgraf (#19404)
* Add recipe for qgraf
* Revert "Add recipe for qgraf"
This reverts commit 76783f7386
.
* 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>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
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)
|
||||
|
||||
|
Reference in New Issue
Block a user