From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PliQu-00060r-AA for garchives@archives.gentoo.org; Sat, 05 Feb 2011 13:44:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF16E069C; Sat, 5 Feb 2011 13:44:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A52D9E069C for ; Sat, 5 Feb 2011 13:44:04 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F296F1B4113 for ; Sat, 5 Feb 2011 13:44:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B9096800B5 for ; Sat, 5 Feb 2011 12:25:07 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: Subject: [gentoo-commits] proj/portage:prefix commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/utilities.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: c202f11dc844edc8dea4ececc6ac8590af903cf0 Date: Sat, 5 Feb 2011 12:25:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2d50c19d63e96609f6010324412e3ed8 commit: c202f11dc844edc8dea4ececc6ac8590af903cf0 Author: Zac Medico gentoo org> AuthorDate: Sat Feb 5 00:56:14 2011 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Feb 5 00:56:14 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dc202f11d Revert "parse_metadata_use(): omit empty text tokens." This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa. Since split() never return empty tokens, this patch does nothing. --- pym/repoman/utilities.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index ceb1ba1..9d4898e 100644 --- a/pym/repoman/utilities.py +++ b/pym/repoman/utilities.py @@ -157,8 +157,7 @@ def parse_metadata_use(xml_tree): uselist[pkg_flag] =3D {} =20 # (flag_restrict can be None) - uselist[pkg_flag][flag_restrict] =3D " ".join( \ - [x for x in "".join(inner_text).split() if x]) + uselist[pkg_flag][flag_restrict] =3D " ".join("".join(inner_text).spl= it()) =20 return uselist =20