Revision: 3948 Author: valhallasw Date: 2007-08-02 10:25:38 +0000 (Thu, 02 Aug 2007)
Log Message: ----------- bugfix: category.articles(startFrom) now passes startFrom to the correct parameter of _getContentsAndSupercats
Modified Paths: -------------- trunk/pywikipedia/catlib.py
Modified: trunk/pywikipedia/catlib.py =================================================================== --- trunk/pywikipedia/catlib.py 2007-08-02 01:15:39 UTC (rev 3947) +++ trunk/pywikipedia/catlib.py 2007-08-02 10:25:38 UTC (rev 3948) @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python # -*- coding: utf-8 -*- """ Library to work with category pages on Wikipedia @@ -295,7 +295,7 @@ Results are unsorted (except as sorted by MediaWiki), and need not be unique. """ - for tag, page in self._getContentsAndSupercats(recurse, startFrom): + for tag, page in self._getContentsAndSupercats(recurse, startFrom=startFrom): if tag == ARTICLE: yield page
pywikipedia-l@lists.wikimedia.org