public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10929 - main/trunk/bin
@ 2008-07-04 20:57 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-07-04 20:57 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-07-04 20:57:24 +0000 (Fri, 04 Jul 2008)
New Revision: 10929

Modified:
   main/trunk/bin/portageq
Log:
Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`.


Modified: main/trunk/bin/portageq
===================================================================
--- main/trunk/bin/portageq	2008-07-04 13:58:30 UTC (rev 10928)
+++ main/trunk/bin/portageq	2008-07-04 20:57:24 UTC (rev 10929)
@@ -294,9 +294,11 @@
 	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):
 	"""
 	Returns the mirrors set to use in the portage configuration.

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-04 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 20:57 [gentoo-commits] portage r10929 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox