summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-17 21:51:27 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-17 21:51:27 +0000
commit34141d590023be7736105f9c7899f17d7d9e79d8 (patch)
treec7396b0e30be07b01074460f8544d083f726a1dd
parent0fd14d64fd3b59d735f730e66a1da0d0255c5a14 (diff)
downloadportage-34141d590023be7736105f9c7899f17d7d9e79d8.tar.gz
portage-34141d590023be7736105f9c7899f17d7d9e79d8.tar.bz2
portage-34141d590023be7736105f9c7899f17d7d9e79d8.zip
Eliminate an unnecessary string concatenation.
svn path=/main/trunk/; revision=4744
-rw-r--r--pym/portage.py5
1 files 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)):