From c14f2e750c85f08a1fc92a548cebb96654c1be05 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 21:12:19 -0500 Subject: [PATCH] helpers: update package counts in get_cpvs doctest --- pym/gentoolkit/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index cc3bf35..7f30a24 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -371,10 +371,10 @@ def get_cpvs(predicate=None, include_installed=True): Example usage: >>> from gentoolkit.helpers import get_cpvs >>> len(set(get_cpvs())) - 26065 + 33518 >>> fn = lambda x: x.startswith('app-portage') >>> len(set(get_cpvs(fn, include_installed=False))) - 112 + 137 @type predicate: function @param predicate: a function to filter the package list with -- 2.26.2