Revision: 5085 Author: filnik Date: 2008-02-27 13:46:49 +0000 (Wed, 27 Feb 2008)
Log Message: ----------- selbst outside a function
Modified Paths: -------------- trunk/pywikipedia/add_text.py
Modified: trunk/pywikipedia/add_text.py =================================================================== --- trunk/pywikipedia/add_text.py 2008-02-26 16:43:49 UTC (rev 5084) +++ trunk/pywikipedia/add_text.py 2008-02-27 13:46:49 UTC (rev 5085) @@ -107,7 +107,7 @@ raise NothingFound('Nothing found! Try to use the tool by yourself to be sure that it works!') else: for result in results: - yield wikipedia.Page(self.site, result) + yield wikipedia.Page(wikipedia.getSite(), result)
def add_text(page = None, addText = None, summary = None, regexSkip = None, regexSkipUrl = None, always = False, up = False, putText = True, oldTextGiven = None):
pywikipedia-l@lists.wikimedia.org