From ec9d92749f48b08dc679983af78ec91f1c3e76a8 Mon Sep 17 00:00:00 2001 From: Miki Tebeka Date: Wed, 24 Jul 2024 12:07:25 +0300 Subject: [PATCH] use %r for better log --- pylsp/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylsp/_utils.py b/pylsp/_utils.py index 0293ee32..1be7e263 100644 --- a/pylsp/_utils.py +++ b/pylsp/_utils.py @@ -88,7 +88,7 @@ def find_parents(root, path, names): return [] if not os.path.commonprefix((root, path)): - log.warning("Path %s not in %s", path, root) + log.warning("Path %r not in %r", path, root) return [] # Split the relative by directory, generate all the parent directories, then check each of them.