Skip to content

Commit

Permalink
pynorms NOAA-EMC#2
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Oct 8, 2024
1 parent ee22db3 commit 057a5e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ush/python/pygfs/jedi/jedi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 057a5e9

Please sign in to comment.