diff --git a/CIME/utils.py b/CIME/utils.py index 5b186cf7085..3f7cfb9f79e 100644 --- a/CIME/utils.py +++ b/CIME/utils.py @@ -201,7 +201,7 @@ def check_name(fullname, additional_chars=None, fullpath=False): False """ - chars = "+*?<>/{}[\]~`@:" # pylint: disable=anomalous-backslash-in-string + chars = r"+*?<>/{}[\]~`@:" if additional_chars is not None: chars += additional_chars if fullname.endswith("/"):