From 6068e7d22eeed430534240b7876216ddec53b789 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Wed, 27 Sep 2023 07:49:04 +0200 Subject: [PATCH] tarfilter: fixup comment --- tarfilter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tarfilter b/tarfilter index 0f9f81e..7a0c653 100755 --- a/tarfilter +++ b/tarfilter @@ -207,8 +207,8 @@ Lastly, shift user id and group id of each entry by the value given by the skip = True return skip - # starting with Python 3.8, the default format became PAX_FORMAT, so this - # is only for compatibility with older versions of Python 3 + # starting with Python 3.8, the default format became PAX_FORMAT but we + # are still explicit here in case of future changes. with tarfile.open(fileobj=sys.stdin.buffer, mode="r|*") as in_tar, tarfile.open( fileobj=sys.stdout.buffer, mode="w|", format=tarfile.PAX_FORMAT ) as out_tar: