diff options
author | Mario Melara <maamelara@gmail.com> | 2016-01-20 10:36:15 -0800 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2016-01-20 10:36:15 -0800 |
commit | 840b41c450267764d021456875dbe87af52c2176 (patch) | |
tree | 4bd8c33bc73a38c9b86383fba5a71843546b25db /lib | |
parent | 15713219e57a97048f4e3b085f9c75e188a67787 (diff) | |
download | spack-840b41c450267764d021456875dbe87af52c2176.tar.gz spack-840b41c450267764d021456875dbe87af52c2176.tar.bz2 spack-840b41c450267764d021456875dbe87af52c2176.tar.xz spack-840b41c450267764d021456875dbe87af52c2176.zip |
Removed unneccessary $. Still learning regexp
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compiler.py b/lib/spack/spack/compiler.py index 1a5be3c3fe..46f2dfaec7 100644 --- a/lib/spack/spack/compiler.py +++ b/lib/spack/spack/compiler.py @@ -283,7 +283,7 @@ class Compiler(object): modulecmd = which('modulecmd') modulecmd.add_default_arg('python') output = modulecmd('avail', cls.PrgEnv_compiler, return_oe=True) - matches = re.findall(r'(%s)/([\d\.]+[\d$])' % cls.PrgEnv_compiler, output) + matches = re.findall(r'(%s)/([\d\.]+[\d])' % cls.PrgEnv_compiler, output) for name, version in matches: v = version |