From 057a5e95a61109bf4c5fd583e3c0903cedace5b9 Mon Sep 17 00:00:00 2001 From: DavidNew-NOAA Date: Tue, 8 Oct 2024 16:41:56 +0000 Subject: [PATCH] pynorms #2 --- ush/python/pygfs/jedi/jedi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ush/python/pygfs/jedi/jedi.py b/ush/python/pygfs/jedi/jedi.py index f64dacf9bb..b062abb43f 100644 --- a/ush/python/pygfs/jedi/jedi.py +++ b/ush/python/pygfs/jedi/jedi.py @@ -229,7 +229,7 @@ def extract_tar_from_fh_dict(fh_dict) -> None: else: filename = os.path.basename(item[0]) - # Extract if file is a tarball + # Extract if file is a tarball if os.path.splitext(filename)[1] == '.tar': tar_file = f"{os.path.dirname(item[1])}/{filename}" if os.path.isfile(tar_file): @@ -272,6 +272,7 @@ def extract_tar(tar_file: str) -> None: logger.exception(f"FATAL ERROR: unable to extract from {tar_file}") raise tarfile.ExtractError("FATAL ERROR: unable to extract from {tar_file}") + # TODO: remove since no longer used @logit(logger) def find_value_in_nested_dict(nested_dict: Dict, target_key: str) -> Any: