Skip to content

Commit

Permalink
Replace percent string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wummel committed Jun 19, 2024
1 parent d5f2a54 commit 458925f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patoolib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def list_formats():
if format == 'tar':
encs = [x for x in ArchiveCompressions if util.find_program(x)]
if encs:
print("(supported compressions: %s)" % ", ".join(encs), end=' ')
print("(supported compressions: {})".format(", ".join(encs)), end=' ')
elif format == '7z':
if util.p7zip_supports_rar():
print("(rar archives supported)", end=' ')
Expand Down

0 comments on commit 458925f

Please sign in to comment.