delayed-rm 3.0.0__tar.gz → 3.0.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: delayed_rm
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Ever wish you had a few minutes to undo an rm? Now you do!
5
5
  License: GPLv3
6
6
  Project-URL: Homepage, https://github.com/zwimer/delayed_rm
@@ -13,7 +13,7 @@ import time
13
13
  import sys
14
14
 
15
15
  # Constants
16
- __version__ = "3.0.0"
16
+ __version__ = "3.0.1"
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"
@@ -185,8 +185,8 @@ def delayed_rm(paths: list[Path], delay: int, rf: bool, unsafe: bool = False) ->
185
185
  shutil.rmtree(p)
186
186
  else:
187
187
  copy3(p, new)
188
- edited = True
189
188
  p.unlink()
189
+ edited = True
190
190
  success.append(p)
191
191
  full_where[p] = new
192
192
  where[p.name].add(out_d)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: delayed_rm
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Ever wish you had a few minutes to undo an rm? Now you do!
5
5
  License: GPLv3
6
6
  Project-URL: Homepage, https://github.com/zwimer/delayed_rm
File without changes
File without changes
File without changes
File without changes