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 85AEF1381F3 for ; Tue, 13 Nov 2012 20:42:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17F3D21C063; Tue, 13 Nov 2012 20:41:20 +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 7CF4421C063 for ; Tue, 13 Nov 2012 20:41:09 +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 A25F533DA71 for ; Tue, 13 Nov 2012 20:41:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E3C06E544E for ; Tue, 13 Nov 2012 20:40:58 +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: <1352685913.cfe01271c3c64f290acf3ce3ae42eb55887e295d.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/helpers.py X-VCS-Directories: pym/gentoolkit/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: cfe01271c3c64f290acf3ce3ae42eb55887e295d X-VCS-Branch: gentoolkit Date: Tue, 13 Nov 2012 20:40:58 +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: 08e3ade4-0070-4175-af2f-6cbe113a1612 X-Archives-Hash: 3f52d53e39a5961c858a790d3b5a70dd commit: cfe01271c3c64f290acf3ce3ae42eb55887e295d Author: W. Trevor King tremily us> AuthorDate: Mon Nov 12 02:05:13 2012 +0000 Commit: Paul Varner gentoo org> CommitDate: Mon Nov 12 02:05:13 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=cfe01271 helpers: use print() in ChangeLog doctest for Python 3 compatibility Also update the expected portage.latest. --- pym/gentoolkit/helpers.py | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index 90e0939..706b526 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -51,11 +51,12 @@ class ChangeLog(object): Example usage: >>> from gentoolkit.helpers import ChangeLog >>> portage = ChangeLog('/usr/portage/sys-apps/portage/ChangeLog') - >>> print portage.latest.strip() - *portage-2.2_rc50 (15 Nov 2009) - - 15 Nov 2009; Zac Medico +portage-2.2_rc50.ebuild: - 2.2_rc50 bump. This includes all fixes in 2.1.7.5. + >>> print(portage.latest.strip()) + *portage-2.2.0_alpha142 (26 Oct 2012) + + 26 Oct 2012; Zac Medico +portage-2.2.0_alpha142.ebuild: + 2.2.0_alpha142 version bump. This includes all of the fixes in 2.1.11.31. Bug + #210077 tracks all bugs fixed since portage-2.1.x. >>> len(portage.full) 75 >>> len(portage.entries_matching_range(