Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Zac Medico (zmedico)" <zmedico@g.o>
Subject: portage r12495 - main/trunk/pym/portage
Date: Tue, 13 Jan 2009 21:02:31 +0000
Author: zmedico
Date: 2009-01-13 21:02:30 +0000 (Tue, 13 Jan 2009)
New Revision: 12495

Modified:
   main/trunk/pym/portage/__init__.py
Log:
Bug #254860 - Inside _expand_new_virtuals(), generate instances of Atom
instead of plain strings, so calling code can assume that only Atom instances
will be returned when strict mode is enabled.


Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py	2009-01-13 04:43:40 UTC (rev 12494)
+++ main/trunk/pym/portage/__init__.py	2009-01-13 21:02:30 UTC (rev 12495)
@@ -6364,13 +6364,14 @@
 				if len(virtual_atoms) == 1:
 					# It wouldn't make sense to block all the components of a
 					# compound virtual, so only a single atom block is allowed.
-					a.append("!" + virtual_atoms[0])
+					a.append(portage.dep.Atom("!" + virtual_atoms[0]))
 			else:
-				mycheck[1].append("="+y[0]) # pull in the new-style virtual
+				# pull in the new-style virtual
+				mycheck[1].append(portage.dep.Atom("="+y[0]))
 				a.append(mycheck[1])
 		# Plain old-style virtuals.  New-style virtuals are preferred.
 		for y in mychoices:
-			a.append(x.replace(mykey, y))
+			a.append(portage.dep.Atom(x.replace(mykey, y, 1)))
 		if isblocker and not a:
 			# Probably a compound virtual.  Pass the atom through unprocessed.
 			newsplit.append(x)



Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in kde-base/akonadi: ChangeLog akonadi-4.1.4.ebuild
Next by thread:
gentoo-x86 commit in kde-base/akregator: akregator-4.1.4.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in kde-base/akonadi: ChangeLog akonadi-4.1.4.ebuild
Next by date:
gentoo-x86 commit in kde-base/akregator: akregator-4.1.4.ebuild ChangeLog


Updated Sep 28, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.