From: Zac Medico Date: Fri, 4 Jul 2008 20:57:24 +0000 (-0000) Subject: Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`. X-Git-Tag: v2.2_rc2~209 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2;p=portage.git Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`. svn path=/main/trunk/; revision=10929 --- 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): """