diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2014-12-15 17:23:03 +0100 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2014-12-15 17:23:03 +0100 |
commit | 57bae253674a5e0ed215f94e10eb3cc0061ae53a (patch) | |
tree | 0c2638c158e0b935d65ab4b5f2793e8b10fca4ff /bin/portageq | |
parent | _compute_abi_rebuild_info: fix bug #532594 (diff) | |
download | portage-57bae253674a5e0ed215f94e10eb3cc0061ae53a.tar.gz portage-57bae253674a5e0ed215f94e10eb3cc0061ae53a.tar.bz2 portage-57bae253674a5e0ed215f94e10eb3cc0061ae53a.zip |
portageq pquery: Search ebuilds in all repositories be default.
--all-repos option is no longer supported.
1 call to deprecated portage.repository.config.RepoConfigLoader.mainRepo() function
has been deleted.
Diffstat (limited to 'bin/portageq')
-rwxr-xr-x | bin/portageq | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/bin/portageq b/bin/portageq index 2c4f54874..8deeb8a5c 100755 --- a/bin/portageq +++ b/bin/portageq @@ -1075,14 +1075,10 @@ def pquery(parser, opts, args): herds.extend(x.split(",")) xml_matchers.append(HerdMatcher(herds)) - repos = [] - if opts.all_repos: - repos.extend(portdb.repositories.get_repo_for_location(location) - for location in portdb.porttrees) - elif opts.repo is not None: - repos.append(portdb.repositories[opts.repo]) + if opts.repo is not None: + repos = [portdb.repositories[opts.repo]] else: - repos.append(portdb.repositories.mainRepo()) + repos = list(portdb.repositories) if not atoms: names = None @@ -1220,12 +1216,8 @@ def add_pquery_arguments(parser): }, { "longopt": "--repo", - "help": "repo to use (default is PORTDIR if omitted)" + "help": "repository to use (all repositories are used by default)" }, - { - "longopt": "--all-repos", - "help": "search all repos" - } ) ), ( |