aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-12-09 18:54:04 (GMT)
committerZac Medico <zmedico@gentoo.org>2011-12-09 18:54:04 (GMT)
commit174ffd8336ec9914f85f871b7ce78506574d3d9b (patch)
tree6872d74371815cb9efcc4e842849aa1d05fca945
parentDelete portage.dbapi.porttree._repo_info class and _repo_info attribute of (diff)
downloadportage-174ffd8336ec9914f85f871b7ce78506574d3d9b.zip
portage-174ffd8336ec9914f85f871b7ce78506574d3d9b.tar.gz
portage-174ffd8336ec9914f85f871b7ce78506574d3d9b.tar.bz2
portageq: get_repo* uses_root
-rwxr-xr-xbin/portageq4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/portageq b/bin/portageq
index cee343f..e1cf1a0 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -708,6 +708,8 @@ def get_repos(argv):
sys.exit(2)
print(" ".join(portage.db[argv[0]]["porttree"].dbapi.getRepositories()))
+get_repos.uses_root = True
+
def get_repo_path(argv):
"""<eroot> <repo_id>+
Returns the path to the repo named argv[1], argv[0] = $EROOT
@@ -721,6 +723,8 @@ def get_repo_path(argv):
path = ""
print(path)
+get_repo_path.uses_root = True
+
def list_preserved_libs(argv):
"""<eroot>
Print a list of libraries preserved during a package update in the form