From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BDF52138202 for ; Tue, 13 Nov 2012 20:43:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D8BB21C00C; Tue, 13 Nov 2012 20:41:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7693B21C00B for ; Tue, 13 Nov 2012 20:41:01 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8608733DA73 for ; Tue, 13 Nov 2012 20:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B735DE5436 for ; Tue, 13 Nov 2012 20:40:57 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <1352683374.87eaae1c3e4ec5d15ba0212606fc5b42e6464f9b.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/metadata.py X-VCS-Directories: pym/gentoolkit/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: 87eaae1c3e4ec5d15ba0212606fc5b42e6464f9b X-VCS-Branch: gentoolkit Date: Tue, 13 Nov 2012 20:40:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 47746ff3-c6af-48fb-a088-076587046ab8 X-Archives-Hash: fd015e15f5e6f92ffbaab6e76d7f56d0 commit: 87eaae1c3e4ec5d15ba0212606fc5b42e6464f9b Author: W. Trevor King tremily us> AuthorDate: Mon Nov 12 01:22:54 2012 +0000 Commit: Paul Varner gentoo org> CommitDate: Mon Nov 12 01:22:54 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=87eaae1c metadata: use print() in PackageFormatter doctest for Python 3 compatibility --- pym/gentoolkit/metadata.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/metadata.py b/pym/gentoolkit/metadata.py index 9bcc17b..352fbef 100644 --- a/pym/gentoolkit/metadata.py +++ b/pym/gentoolkit/metadata.py @@ -14,11 +14,11 @@ >>> pkg_md.herds() ['no-herd'] >>> for maint in pkg_md.maintainers(): - ... print "{0} ({1})".format(maint.email, maint.name) + ... print('{0} ({1})'.format(maint.email, maint.name)) ... nixphoeni@gentoo.org (Joe Sapp) >>> for flag in pkg_md.use(): - ... print flag.name, "->", flag.description + ... print(flag.name, '->', flag.description) ... rtf -> Enable export to RTF gnome-print -> Enable printing support using gnome-print