From 11a14b42b129a21f6f34122666219085475e4851 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 14 Jul 2013 10:38:25 +0200 Subject: [PATCH] portageq: Support repositories_configuration command. --- bin/portageq | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.26.2