Skip to content

Commit

Permalink
Use %r to have a better log (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
tebeka authored Jul 29, 2024
1 parent e8dd582 commit 8a345b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsp/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8a345b9

Please sign in to comment.