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.