From 34141d590023be7736105f9c7899f17d7d9e79d8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 17 Oct 2006 21:51:27 +0000 Subject: [PATCH] Eliminate an unnecessary string concatenation. svn path=/main/trunk/; revision=4744 --- pym/portage.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index c50507368..aecbda293 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1526,13 +1526,12 @@ class config: self.configdict["pkginternal"]["USE"] = pkginternaluse defaults = [] for i in xrange(len(self.profiles)): - profile_use = self.make_defaults_use[i] + defaults.append(self.make_defaults_use[i]) cpdict = self.pkgprofileuse[i].get(cp, None) if cpdict: best_match = best_match_to_list(self.mycpv, cpdict.keys()) if best_match: - profile_use += " " + cpdict[best_match] - defaults.append(profile_use) + defaults.append(cpdict[best_match]) self.configdict["defaults"]["USE"] = " ".join(defaults) useforce = [] for i in xrange(len(self.profiles)): -- 2.26.2