From 1f2349ffc2c4e8437aa571928eb36881d4bd41f8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 21:24:29 -0500 Subject: [PATCH] helpers: update entry counts and version range in ChangeLog doctest --- pym/gentoolkit/helpers.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index 7f30a24..637d3a7 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -58,12 +58,11 @@ class ChangeLog(object): 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 + 270 >>> len(portage.entries_matching_range( - ... from_ver='2.2_rc40', - ... to_ver='2.2_rc50')) - 11 - + ... from_ver='2.1.11.31', + ... to_ver='9999')) + 140 """ def __init__(self, changelog_path, invalid_entry_is_fatal=False): if not (os.path.isfile(changelog_path) and -- 2.26.2