From 0a521dc3ca9e177ebb0c8e344e1fbd0b8bd7d444 Mon Sep 17 00:00:00 2001 From: mikedarcy Date: Fri, 28 Jun 2024 13:18:12 -0700 Subject: [PATCH] Fix transposed position in string substitution of logging statement during bag extraction. Bump version. --- bdbag/__init__.py | 2 +- bdbag/bdbag_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bdbag/__init__.py b/bdbag/__init__.py index f20a6a5..903c6e2 100644 --- a/bdbag/__init__.py +++ b/bdbag/__init__.py @@ -28,7 +28,7 @@ logger = logging.getLogger(__name__) -__version__ = "1.7.3" +__version__ = "1.7.4" __bagit_version__ = "1.8.1" __bagit_profile_version__ = "1.3.1" diff --git a/bdbag/bdbag_api.py b/bdbag/bdbag_api.py index 7f10ef2..50f7147 100644 --- a/bdbag/bdbag_api.py +++ b/bdbag/bdbag_api.py @@ -507,7 +507,7 @@ def extract_bag(bag_path, output_path=None, temp=False, config_file=None): files = archive.namelist() elif tarfile.is_tarfile(bag_path): logger.info("Extracting TAR/GZ/BZ2%s archived file: %s" % - (bag_path, ("/XZ" if sys.version_info >= (3, 3) else ""))) + (("/XZ" if sys.version_info >= (3, 3) else ""), bag_path)) archive = tarfile.open(bag_path) files = archive.getnames() else: