From c9ca6d6c6e5117ea85d844961c38048e380de25b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 18 Mar 2009 21:57:12 +0000 Subject: Make config.features a set instead of a list. svn path=/main/trunk/; revision=13134 --- bin/ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/ebuild') diff --git a/bin/ebuild b/bin/ebuild index a18f257a7..05ba86c03 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -186,9 +186,8 @@ if "test" in pargs: tmpsettings["EBUILD_FORCE_TEST"] = "1" tmpsettings.backup_changes("EBUILD_FORCE_TEST") if "test" not in tmpsettings.features: - tmpsettings.features.append("test") - tmpsettings.features.sort() - tmpsettings["FEATURES"] = " ".join(tmpsettings.features) + tmpsettings.features.add("test") + tmpsettings["FEATURES"] = " ".join(sorted(tmpsettings.features)) tmpsettings.backup_changes("FEATURES") if opts.skip_manifest: -- cgit v1.2.3-1-g7c22