From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 14 Jul 2013 08:38:25 +0000 (+0200) Subject: portageq: Support repositories_configuration command. X-Git-Tag: v2.2.0_alpha189~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11a14b42b129a21f6f34122666219085475e4851;p=portage.git portageq: Support repositories_configuration command. --- diff --git a/bin/portageq b/bin/portageq index 0e1cb6408..4c2f4646f 100755 --- a/bin/portageq +++ b/bin/portageq @@ -650,6 +650,14 @@ def gentoo_mirrors(argv): print(portage.settings["GENTOO_MIRRORS"]) +def repositories_configuration(argv): + """ + Returns the configuration of repositories. + """ + sys.stdout.write(portage.settings.repositories.config_string()) + sys.stdout.flush() + + def portdir(argv): """ Returns the PORTDIR path.