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 1QjTHF-0000IT-Qc for garchives@archives.gentoo.org; Wed, 20 Jul 2011 09:41:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2354121C272; Wed, 20 Jul 2011 09:41:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EA14521C272 for ; Wed, 20 Jul 2011 09:41:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7732B2AC092 for ; Wed, 20 Jul 2011 09:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3854180042 for ; Wed, 20 Jul 2011 09:41:04 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <7fa5f72b0a95812e696f89ed4d85318c2973795b.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoopm:master commit in: gentoopm/basepm/ X-VCS-Repository: proj/gentoopm X-VCS-Files: gentoopm/basepm/pkg.py X-VCS-Directories: gentoopm/basepm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7fa5f72b0a95812e696f89ed4d85318c2973795b Date: Wed, 20 Jul 2011 09:41:04 +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: 8499e508ef4eea3e44b111ec8e9cc237 commit: 7fa5f72b0a95812e696f89ed4d85318c2973795b Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Wed Jul 20 09:41:33 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Wed Jul 20 09:41:33 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoopm.git;= a=3Dcommit;h=3D7fa5f72b Fix stringifying PMPackageDescription. --- gentoopm/basepm/pkg.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gentoopm/basepm/pkg.py b/gentoopm/basepm/pkg.py index 14cf36c..1a2b0cb 100644 --- a/gentoopm/basepm/pkg.py +++ b/gentoopm/basepm/pkg.py @@ -41,7 +41,7 @@ class PMPackageDescription(ABCObject): @returns: best package description @rtype: string """ - return self.long or self.short + return str(self.long or self.short) =20 class PMPackage(PMAtom, FillMissingComparisons): """