Revision: 7700 Author: alexsh Date: 2009-11-26 13:43:56 +0000 (Thu, 26 Nov 2009)
Log Message: ----------- Fix: Page().linkedPages() object duplicate.
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-11-26 09:37:32 UTC (rev 7699) +++ trunk/pywikipedia/wikipedia.py 2009-11-26 13:43:56 UTC (rev 7700) @@ -2213,7 +2213,7 @@ continue if not withImageLinks and page.isImage(): continue - if page.sectionFreeTitle(): + if page.sectionFreeTitle() and page not in result: result.append(page) return result
pywikipedia-svn@lists.wikimedia.org