summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2021-12-23 01:07:49 -0800
committerGreg Becker <becker33@llnl.gov>2022-01-12 06:14:18 -0800
commitff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8 (patch)
treed245c96434508b819ce46ce1a709aa07449c0175 /var
parentb6dde510bdeed7538d9f085edc7da09c8c95d976 (diff)
downloadspack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.gz
spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.bz2
spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.xz
spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.zip
package_hash: add test to ensure that every package in Spack can be unparsed
- [x] add option to canonical source to *not* filter multimethods - [x] add test to unparse every package in builtin
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bash-completion/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/bash-completion/package.py b/var/spack/repos/builtin/packages/bash-completion/package.py
index c03dabf74f..c2bab1248c 100644
--- a/var/spack/repos/builtin/packages/bash-completion/package.py
+++ b/var/spack/repos/builtin/packages/bash-completion/package.py
@@ -39,7 +39,10 @@ class BashCompletion(AutotoolsPackage):
print('include the following lines in your ~/.bash_profile :')
print('')
print('# Use bash-completion, if available')
- print('[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \ ' % prefix) # NOQA: ignore=E501
+ print(
+ '[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \\'
+ % prefix
+ )
print(' . %s/share/bash-completion/bash_completion' % prefix)
print('')
print('=====================================================')