Skip to content

Commit 200f941

Browse files
committed
Rolled back more inadvertently changed files
1 parent 2d83e52 commit 200f941

File tree

4 files changed

+1
-32
lines changed

4 files changed

+1
-32
lines changed

pkg_resources/_vendor/backports/tarfile/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
import re
4949
import warnings
5050

51-
from .compat.py38 import removesuffix
52-
5351
try:
5452
import pwd
5553
except ImportError:
@@ -1367,7 +1365,7 @@ def _proc_gnulong(self, tarfile):
13671365
# Remove redundant slashes from directories. This is to be consistent
13681366
# with frombuf().
13691367
if next.isdir():
1370-
next.name = removesuffix(next.name, "/")
1368+
next.name = next.name.removesuffix("/")
13711369

13721370
return next
13731371

pkg_resources/_vendor/backports/tarfile/__main__.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

pkg_resources/_vendor/backports/tarfile/compat/__init__.py

Whitespace-only changes.

pkg_resources/_vendor/backports/tarfile/compat/py38.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)