From 104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 4 Jul 2008 20:57:24 +0000 Subject: Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`. svn path=/main/trunk/; revision=10929 --- bin/portageq | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/portageq b/bin/portageq index 12154df77..ce6318077 100755 --- a/bin/portageq +++ b/bin/portageq @@ -294,8 +294,10 @@ def vdb_path(argv): Returns the path used for the var(installed) package database for the set environment/configuration options. """ - print portage.root+portage.VDB_PATH - + out = sys.stdout + out.write(os.path.join(portage.settings["ROOT"], portage.VDB_PATH) + "\n") + out.flush() + return os.EX_OK def gentoo_mirrors(argv): """ -- cgit v1.2.3-1-g7c22