diff --git a/roles/slurm/files/update_config.py b/roles/slurm/files/update_config.py index 72fc66ec..385c3ce3 100644 --- a/roles/slurm/files/update_config.py +++ b/roles/slurm/files/update_config.py @@ -26,7 +26,7 @@ def get_limits() -> Dict[str, Dict[str, str]]: if not isinstance(count, int): raise SyntaxError for shape in limits: - if not re.match(r"", shape): + if re.match(r"\w{2}\.", shape) is None: raise ValueError return limits