public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r13400 - main/branches/prefix/pym/_emerge
@ 2009-04-26 15:51 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2009-04-26 15:51 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2009-04-26 15:51:56 +0000 (Sun, 26 Apr 2009)
New Revision: 13400

Modified:
   main/branches/prefix/pym/_emerge/__init__.py
Log:
old code that hasn't been triggered for a while, metadata is in pkg nowadays, bug #267556

Modified: main/branches/prefix/pym/_emerge/__init__.py
===================================================================
--- main/branches/prefix/pym/_emerge/__init__.py	2009-04-26 11:20:28 UTC (rev 13399)
+++ main/branches/prefix/pym/_emerge/__init__.py	2009-04-26 15:51:56 UTC (rev 13400)
@@ -1447,10 +1447,10 @@
 				pkg.metadata["CHOST"])
 
 	if pkg.built and not pkg.installed:
-		if not "EPREFIX" in metadata or not metadata["EPREFIX"]:
+		if not "EPREFIX" in pkg.metadata or not pkg.metadata["EPREFIX"]:
 			mreasons.append("missing EPREFIX")
-		elif len(metadata["EPREFIX"].strip()) < len(pkgsettings["EPREFIX"]):
-			mreasons.append("EPREFIX: '%s' too small" % metadata["EPREFIX"])
+		elif len(pkg.metadata["EPREFIX"].strip()) < len(pkgsettings["EPREFIX"]):
+			mreasons.append("EPREFIX: '%s' too small" % pkg.metadata["EPREFIX"])
 
 	if not pkg.metadata["SLOT"]:
 		mreasons.append("invalid: SLOT is undefined")




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

only message in thread, other threads:[~2009-04-26 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-26 15:51 [gentoo-commits] portage r13400 - main/branches/prefix/pym/_emerge Fabian Groffen (grobian)

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