PR#2348: fix option order
Merges #2348 https://pagure.io/koji/pull-request/2348 Fixes: #2086 https://pagure.io/koji/issue/2086 list-tags glob is slow
This commit is contained in:
commit
cc29bcc9f6
1 changed files with 2 additions and 1 deletions
|
|
@ -1231,7 +1231,7 @@ def readPackageList(tagID=None, userID=None, pkgID=None, event=None, inherit=Fal
|
|||
return packages
|
||||
|
||||
|
||||
def list_tags(build=None, package=None, perms=True, pattern=None, queryOpts=None):
|
||||
def list_tags(build=None, package=None, perms=True, queryOpts=None, pattern=None):
|
||||
"""List tags according to filters
|
||||
|
||||
:param int|str build: If build is specified, only return tags associated with
|
||||
|
|
@ -1247,6 +1247,7 @@ def list_tags(build=None, package=None, perms=True, pattern=None, queryOpts=None
|
|||
- blocked
|
||||
- extra_arches
|
||||
:param bool perms: If perms is True, perm_id and perm is added to resulting maps.
|
||||
:param dict queryOpts: hash with query options for QueryProcessor
|
||||
:param pattern: If glob pattern is specified, only return tags matching that pattern.
|
||||
|
||||
:returns list of dicts: Each map contains id, name, arches and locked keys and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue