Skip to content

Commit 8a345b9

Browse files
authored
Use %r to have a better log (#584)
1 parent e8dd582 commit 8a345b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp/_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def find_parents(root, path, names):
8888
return []
8989

9090
if not os.path.commonprefix((root, path)):
91-
log.warning("Path %s not in %s", path, root)
91+
log.warning("Path %r not in %r", path, root)
9292
return []
9393

9494
# Split the relative by directory, generate all the parent directories, then check each of them.

0 commit comments

Comments
 (0)