From 6eb3f5a21064f98a9131762db2b12c7d9b79ee80 Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Sun, 9 Nov 2025 10:25:33 +0000 Subject: [PATCH] Minor fix to inline documentation --- resrm/src/resrm/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resrm/src/resrm/core.py b/resrm/src/resrm/core.py index e397117..a34a47b 100644 --- a/resrm/src/resrm/core.py +++ b/resrm/src/resrm/core.py @@ -244,7 +244,7 @@ def move_to_trash(path: Path, interactive: bool, force: bool, recursive: bool, p print(f"Failed permanent delete: {e}") return - # 🚫 Prevent non-root user deleting root-owned files + # Prevent non-root user deleting root-owned files try: st = path.stat() if st.st_uid == 0 and os.geteuid() != 0: @@ -253,7 +253,7 @@ def move_to_trash(path: Path, interactive: bool, force: bool, recursive: bool, p except Exception: pass - # 🧭 Detect which trash to use (based on file owner) + # Detect which trash to use (based on file owner) try: import pwd owner_uid = path.stat().st_uid