>>> 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.
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)