Skip to content

Commit

Permalink
Fix legacy URI separator use in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
MHendricks committed Feb 5, 2024
1 parent 9f106f4 commit 7811b41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hab/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def closest_config(self, path, default=False):
default (bool, optional): If True, search the default tree instead of the
tree specified by the first name in path. The leaf nodes do not need to
match names exactly, it will pick a default leaf that starts with the
most common characters. Ie if path is `:project_a:Sc001` it would match
`:default:Sc0` not `:default:Sc01`.
most common characters. Ie if path is `project_a/Sc001` it would match
`default/Sc0` not `default/Sc01`.
"""
if not path.startswith(HabBase.separator):
path = "".join((HabBase.separator, path))
Expand Down

0 comments on commit 7811b41

Please sign in to comment.