Summary: | app-portage/gentoolkit-0.3.0.9-r2: Spurious output in Query module | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Patrick Lauer <patrick> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
def smart_find(
self,
in_installed=True,
in_porttree=True,
in_overlay=True,
include_masked=True,
show_progress=True,
no_matches_fatal=True,
**kwargs
):
What you want to use instead is:
>>> from gentoolkit.query import Query
>>> matches = Query('sys-fs/udev').smart_find(show_progress=False)
|
>>> from gentoolkit.query import Query >>> matches = Query('sys-fs/udev').smart_find() * Searching for udev in sys-fs ... Every time this is called it prints out things, this is not nice if one tries to use gentoolkit as a library.