Got rid of unnecessary module arg

This commit is contained in:
Mario Melara 2016-06-20 10:58:20 -07:00
parent 1303b5a6a9
commit 88888f5ba0

View file

@ -77,9 +77,9 @@ def fc_version(cls, fc):
return get_compiler_version( return get_compiler_version(
fc, '-dumpversion', fc, '-dumpversion',
# older gfortran versions don't have simple dumpversion output. # older gfortran versions don't have simple dumpversion output.
r'(?:GNU Fortran \(GCC\))?(\d+\.\d+(?:\.\d+)?)', module) r'(?:GNU Fortran \(GCC\))?(\d+\.\d+(?:\.\d+)?)')
@classmethod @classmethod
def f77_version(cls, f77): def f77_version(cls, f77):
return cls.fc_version(f77, module) return cls.fc_version(f77)