Revision: 5143 Author: rotem Date: 2008-03-19 12:56:52 +0000 (Wed, 19 Mar 2008)
Log Message: ----------- Whitespace, and (patch 1919403)Missing translation in replace.py
Modified Paths: -------------- trunk/pywikipedia/replace.py
Modified: trunk/pywikipedia/replace.py =================================================================== --- trunk/pywikipedia/replace.py 2008-03-18 19:31:35 UTC (rev 5142) +++ trunk/pywikipedia/replace.py 2008-03-19 12:56:52 UTC (rev 5143) @@ -152,6 +152,7 @@ 'pt':u'Bot: Mudança automática %s', 'ru':u'Робот: Автоматизированная замена текста', 'sr':u'Бот: Аутоматска замена текста %s', + 'sv':u'Bot: Automatisk textersättning: %s' 'zh': u'機器人:執行文字代換作業 %s', }
@@ -169,7 +170,7 @@ * exceptions - A dictionary which defines when to ignore an occurence. See docu of the ReplaceRobot constructor below. - + """ def __init__(self, xmlFilename, xmlStart, replacements, exceptions): self.xmlFilename = xmlFilename @@ -190,7 +191,7 @@
def __iter__(self): return self - + def next(self): try: for entry in self.parser: