diff options
author | Tom Scogland <scogland1@llnl.gov> | 2016-05-15 09:50:21 -0700 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2016-05-15 09:50:21 -0700 |
commit | c6524d0311146e747667126004b5792eee7d3bf4 (patch) | |
tree | 2566b6f2f0db9583b13ff3634ba296ba14d220ec /lib | |
parent | a2197f3a417d63f0f13eac64f016abd0528d7748 (diff) | |
download | spack-c6524d0311146e747667126004b5792eee7d3bf4.tar.gz spack-c6524d0311146e747667126004b5792eee7d3bf4.tar.bz2 spack-c6524d0311146e747667126004b5792eee7d3bf4.tar.xz spack-c6524d0311146e747667126004b5792eee7d3bf4.zip |
environment: fixed comment and default separator
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/environment.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/environment.py b/lib/spack/spack/environment.py index 900036441a..af642dcc9b 100644 --- a/lib/spack/spack/environment.py +++ b/lib/spack/spack/environment.py @@ -241,12 +241,14 @@ class EnvironmentModifications(object): x.execute() -def concatenate_paths(paths, separator=';'): +def concatenate_paths(paths, separator=':'): """ - Concatenates an iterable of paths into a string of column separated paths + Concatenates an iterable of paths into a string of paths separated by + separator, defaulting to colon Args: paths: iterable of paths + separator: the separator to use, default ':' Returns: string |