Removed unneccessary $. Still learning regexp

This commit is contained in:
Mario Melara 2016-01-20 10:36:15 -08:00
parent 15713219e5
commit 840b41c450

View File

@ -283,7 +283,7 @@ def find_in_modules(cls):
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