From 99006e93315c369dd43f0a4edd744542e9a3fd95 Mon Sep 17 00:00:00 2001 From: CoryMartin-NOAA Date: Wed, 2 Aug 2023 17:38:56 +0000 Subject: [PATCH] pycodestyle (why did this break?) --- ush/ufsda/genYAML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ush/ufsda/genYAML.py b/ush/ufsda/genYAML.py index accc8d5c5..f6ffbda6b 100644 --- a/ush/ufsda/genYAML.py +++ b/ush/ufsda/genYAML.py @@ -31,7 +31,7 @@ def genYAML(yamlconfig, output=None): # what if the config_dict has environment variables that need substituted? pattern = re.compile(r'.*?\${(\w+)}.*?') for key, value in config_dict.items(): - if type(value) == str: + if type(value) is str: match = pattern.findall(value) if match: fullvalue = value