delayed-rm 3.1.0__tar.gz → 3.1.2__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.
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/PKG-INFO +1 -1
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm/delayed_rm.py +2 -2
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm.egg-info/PKG-INFO +1 -1
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/LICENSE +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/README.md +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm/__init__.py +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm/py.typed +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm.egg-info/SOURCES.txt +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm.egg-info/dependency_links.txt +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm.egg-info/entry_points.txt +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/delayed_rm.egg-info/top_level.txt +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/pyproject.toml +0 -0
- {delayed_rm-3.1.0 → delayed_rm-3.1.2}/setup.cfg +0 -0
|
@@ -13,7 +13,7 @@ import time
|
|
|
13
13
|
import sys
|
|
14
14
|
|
|
15
15
|
# Constants
|
|
16
|
-
__version__ = "3.1.
|
|
16
|
+
__version__ = "3.1.2"
|
|
17
17
|
_UNSAFE_FLAG = "unsafe-rmtree"
|
|
18
18
|
log_f: Path = Path.home().resolve() / ".delayed_rm.log"
|
|
19
19
|
tmp_d: Path = Path(gettempdir()).resolve() / ".delayed_rm"
|
|
@@ -236,7 +236,7 @@ def delayed_rm(paths: list[Path], delay: int, rf: bool, unsafe: bool = False) ->
|
|
|
236
236
|
env={_Secret.key: _Secret.value},
|
|
237
237
|
stdout=subprocess.DEVNULL,
|
|
238
238
|
stderr=subprocess.DEVNULL,
|
|
239
|
-
cwd=
|
|
239
|
+
cwd=base.root,
|
|
240
240
|
)
|
|
241
241
|
return not failed and not ctrlc
|
|
242
242
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|