The docstring for Bugzilla.query
def query(self, query):
'''Query bugzilla and return a list of matching bugs.
query must be a dict with fields like those in in
querydata['fields'].
Returns a list of Bug objects.
Also see the _query() method for details about the underlying
implementation.
'''
refers to _query, but this method is no longer very informative:
def _query(self, query):
# This is kinda redundant now, but various scripts call
# _query with their own assembled dictionaries, so don't
# drop this lest we needlessly break those users
log.debug("Calling Bug.search with: %s", query)
return self._proxy.Bug.search(query)
So it's a bit difficult to figure out how to actually compose queries.
--
Florian Weimer / Red Hat Product Security