query: fix comment describing get_versions()
The comment was plain wrong. It said we returned a list. We return nested OrderedDict structures. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
6f03eee42c
commit
e1fecd1c3f
1 changed files with 2 additions and 3 deletions
|
|
@ -142,9 +142,8 @@ class Query:
|
|||
entries_str = decode(self.script('get-dir', version, path))
|
||||
return entries_str.split("\n")[:-1]
|
||||
|
||||
# Returns the list of indexed versions in the following format:
|
||||
# topmenu submenu tag
|
||||
# Example: v3 v3.1 v3.1-rc10
|
||||
# Returns indexed versions, as a tree of OrderedDict.
|
||||
# It has a depth of 3, for example: v3 v3.1 v3.1-rc10.
|
||||
def get_versions(self):
|
||||
versions = OrderedDict()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue