From d1ec4b3494274dcb7e1d9594cbb8d6ccd8bd0e63 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 10 Nov 2022 09:09:54 +0100 Subject: Emacs and fix bug in apply --- apply/state.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apply') diff --git a/apply/state.py b/apply/state.py index 12440a6..2e9205c 100644 --- a/apply/state.py +++ b/apply/state.py @@ -58,6 +58,8 @@ class FileState(Enum): dest = Path(os.readlink(str(path))) if Path.cwd() in dest.parents: return FileState.create_owned(dest) + else: + return FileState.Used if not path.exists(): return FileState.Unused -- cgit v1.2.3