helpers: update package counts in get_cpvs doctest
authorW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 02:12:19 +0000 (21:12 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 02:12:19 +0000 (21:12 -0500)
pym/gentoolkit/helpers.py

index cc3bf3500a1f6c2265c69ebe3f0461d9c11edb57..7f30a2482830f32eb7e5f3899dbe78774663489f 100644 (file)
@@ -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