From: W. Trevor King Date: Mon, 12 Nov 2012 02:24:29 +0000 (-0500) Subject: helpers: update entry counts and version range in ChangeLog doctest X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f2349ffc2c4e8437aa571928eb36881d4bd41f8;p=gentoolkit.git helpers: update entry counts and version range in ChangeLog doctest --- 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