Skip to content

Commit

Permalink
Fix transposed position in string substitution of logging statement d…
Browse files Browse the repository at this point in the history
…uring bag extraction.

Bump version.
  • Loading branch information
mikedarcy committed Jun 28, 2024
1 parent efc1d33 commit 0a521dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bdbag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion bdbag/bdbag_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0a521dc

Please sign in to comment.