Revision: 6411 Author: filnik Date: 2009-02-22 14:36:55 +0000 (Sun, 22 Feb 2009)
Log Message: ----------- bugfix.. another..
Modified Paths: -------------- trunk/pywikipedia/catlib.py
Modified: trunk/pywikipedia/catlib.py =================================================================== --- trunk/pywikipedia/catlib.py 2009-02-22 12:31:24 UTC (rev 6410) +++ trunk/pywikipedia/catlib.py 2009-02-22 14:36:55 UTC (rev 6411) @@ -540,7 +540,7 @@ except KeyError: if int(cmlimit) != 500: wikipedia.output(u'An Error occured, trying to reload the category.') - return categoryAllElements(CatName, cmlimit = 500) + return categoryAllElementsAPI(CatName, cmlimit = 500) else: raise wikipedia.Error(data) if len(members) == int(cmlimit): @@ -554,7 +554,7 @@ if ns == 14: if title not in categories_parsed: categories_parsed.append(title) - (results_part, categories_parsed) = categoryAllElements(title, 5000, categories_parsed) + (results_part, categories_parsed) = categoryAllElementsAPI(title, 5000, categories_parsed) allmembers.extend(results_part) for member in allmembers: ns = member['ns']
pywikipedia-l@lists.wikimedia.org