Got rid of unnecessary module arg
This commit is contained in:
parent
1303b5a6a9
commit
88888f5ba0
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue