spack/lib/spack
George Hartzell e6bb8360d0
Fix indentation in containerize example (#17228)
[george.hartzell@172-16-193-97 spack-explore-docker]$ spack containerize
Running `spack containerize` with the example `spack.yaml` file fails
with an error that ends like so:

```
[...]
  File "/local_scratch/hartzell/tmp/spack-explore-docker/lib/spack/external/ruamel/yaml/scanner.py", line 165, in need_more_tokens
    self.stale_possible_simple_keys()
  File "/local_scratch/hartzell/tmp/spack-explore-docker/lib/spack/external/ruamel/yaml/scanner.py", line 309, in stale_possible_simple_keys
    "could not find expected ':'", self.get_mark())
ruamel.yaml.scanner.ScannerError: while scanning a simple key
  in "/local_scratch/hartzell/tmp/spack-explore-docker/spack.yaml", line 26, column 1
could not find expected ':'
  in "/local_scratch/hartzell/tmp/spack-explore-docker/spack.yaml", line 28, column 5
```

Indenting the block string fixes the problem for me.

CentOS 7,

```
$ spack --version
0.14.2-1529-ec58f28c2
```
2020-06-29 08:58:51 +02:00
..
docs Fix indentation in containerize example (#17228) 2020-06-29 08:58:51 +02:00
env compiler wrappers: don't override -isystem with -I (#16077) 2020-04-21 13:56:50 -07:00
external Vendoring: remove dependency on Setuptools from vendored pytest (#15612) 2020-03-23 16:55:07 -07:00
llnl Separate Apple Clang from LLVM Clang (#17110) 2020-06-25 11:18:48 -05:00
spack Restore compilers.yaml default directory (#17283) 2020-06-29 08:03:22 +02:00