summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index a8fd39b15..5fd7a9d11 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -1357,9 +1357,13 @@ def action_info(settings, trees, myopts, myfiles):
libtool_vers = ",".join(trees["/"]["vartree"].dbapi.match("sys-devel/libtool"))
repos = portdb.settings.repositories
- writemsg_stdout("Repositories:\n\n")
- for repo in repos:
- writemsg_stdout(repo.info_string())
+ if "--verbose" in myopts:
+ writemsg_stdout("Repositories:\n\n")
+ for repo in repos:
+ writemsg_stdout(repo.info_string())
+ else:
+ writemsg_stdout("Repositories: %s\n" % \
+ " ".join(repo.name for repo in repos))
if "--verbose" in myopts:
myvars = list(settings)