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)