dotlocalslashbin 0.0.5__tar.gz → 0.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dotlocalslashbin-0.0.5 → dotlocalslashbin-0.0.6}/PKG-INFO +1 -1
- {dotlocalslashbin-0.0.5 → dotlocalslashbin-0.0.6}/src/dotlocalslashbin.py +6 -2
- {dotlocalslashbin-0.0.5 → dotlocalslashbin-0.0.6}/LICENSES/MPL-2.0.txt +0 -0
- {dotlocalslashbin-0.0.5 → dotlocalslashbin-0.0.6}/README.md +0 -0
- {dotlocalslashbin-0.0.5 → dotlocalslashbin-0.0.6}/pyproject.toml +0 -0
|
@@ -23,7 +23,7 @@ from urllib.request import urlopen
|
|
|
23
23
|
from zipfile import ZipFile
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
__version__ = "0.0.
|
|
26
|
+
__version__ = "0.0.6"
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class CustomNamespace(Namespace):
|
|
@@ -140,7 +140,11 @@ def _download(
|
|
|
140
140
|
member.path = member.path.removeprefix(prefix)
|
|
141
141
|
if member.path in ignore:
|
|
142
142
|
continue
|
|
143
|
-
|
|
143
|
+
try:
|
|
144
|
+
file.extract(member, path=target.parent, filter="tar")
|
|
145
|
+
except TypeError: # before 3.11.4 e.g. Debian 12
|
|
146
|
+
file.extract(member, path=target.parent)
|
|
147
|
+
|
|
144
148
|
elif action == "command" and command is not None:
|
|
145
149
|
kwargs = dict(target=target, downloaded=downloaded)
|
|
146
150
|
run(split(command.format(**kwargs)), check=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|