aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-11-11 21:24:29 -0500
committerW. Trevor King <wking@tremily.us>2012-11-11 21:24:29 -0500
commit1f2349ffc2c4e8437aa571928eb36881d4bd41f8 (patch)
tree9ec9b9b96892871e0b61a77c1368f3ca95f60c13 /pym/gentoolkit/helpers.py
parenthelpers: update package counts in get_cpvs doctest (diff)
downloadgentoolkit-1f2349ffc2c4e8437aa571928eb36881d4bd41f8.tar.gz
gentoolkit-1f2349ffc2c4e8437aa571928eb36881d4bd41f8.tar.bz2
gentoolkit-1f2349ffc2c4e8437aa571928eb36881d4bd41f8.zip
helpers: update entry counts and version range in ChangeLog doctest
Diffstat (limited to 'pym/gentoolkit/helpers.py')
-rw-r--r--pym/gentoolkit/helpers.py9
1 files 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