diff --git a/components/omega/create_scripts.py b/components/omega/create_scripts.py index 484d5c4624e9..89df36b4f52f 100644 --- a/components/omega/create_scripts.py +++ b/components/omega/create_scripts.py @@ -9,9 +9,9 @@ import re import stat import subprocess -import typing import sys +import typing pat_envvar = re.compile(r'^([_\d\w]+)=(.*)$', flags=re.MULTILINE) @@ -175,7 +175,7 @@ def get_modules(self, outvar): if not (mpilib is None or re.match("^" + mpilib + "$", self.mpilib)): continue - + if not (debug is None or re.match("^" + debug + "$", self.debug)): continue @@ -232,7 +232,7 @@ def get_envs(self, outvar): if not (mpilib is None or re.match("^" + mpilib + "$", self.mpilib)): continue - + if not (debug is None or re.match("^" + debug + "$", self.debug)): continue