summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-08-20 15:34:35 -0700
committerGitHub <noreply@github.com>2017-08-20 15:34:35 -0700
commite77c1a20c5964c169d0ac557e13fd071804f68ed (patch)
treea1d1c5650e396de376001b272d469ec8704c3281 /etc
parent99fb394ac18b7ef1bc4f9ee34242a69b42781ab8 (diff)
downloadspack-e77c1a20c5964c169d0ac557e13fd071804f68ed.tar.gz
spack-e77c1a20c5964c169d0ac557e13fd071804f68ed.tar.bz2
spack-e77c1a20c5964c169d0ac557e13fd071804f68ed.tar.xz
spack-e77c1a20c5964c169d0ac557e13fd071804f68ed.zip
Fix issue with color formatting regular expression. (#5171)
- Fix issue with color formatting regular expression. - _separators regex in spec.py could be constructed such that '^' came first in the character matcher, e.g. '[^@#/]'. This inverts the match and causes transient KeyErrors. - Fixed to escape all characters in the constructed regex. - This bug comes up in Python3 due to its more randomized hash iteration order, but it could probably also happen in a Python 2 implementation. - also clean up variable docstrings in spec.py
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions