diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-04 20:57:24 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-04 20:57:24 +0000 |
commit | 104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2 (patch) | |
tree | 8e6802e7d304fc942d6221b0b454f0d0e602b332 | |
parent | 43411c1f30d3c4591f549feb9aaf24c6c023b6d8 (diff) | |
download | portage-104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2.tar.gz portage-104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2.tar.bz2 portage-104c13c1c63fb822cbf0b1dd1e8e5c77478a56a2.zip |
Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`.
svn path=/main/trunk/; revision=10929
-rwxr-xr-x | bin/portageq | 6 |
1 files changed, 4 insertions, 2 deletions
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): """ |