Revision: 7813 Author: xqt Date: 2009-12-22 07:22:54 +0000 (Tue, 22 Dec 2009)
Log Message: ----------- Bugfix #2919178
Modified Paths: -------------- trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py =================================================================== --- trunk/pywikipedia/cosmetic_changes.py 2009-12-22 07:08:10 UTC (rev 7812) +++ trunk/pywikipedia/cosmetic_changes.py 2009-12-22 07:22:54 UTC (rev 7813) @@ -258,7 +258,7 @@ # Removing the interwiki text = pywikibot.removeLanguageLinks(text, site = self.site) # Dealing the stars' issue - if self.site.sitename() != 'wikipedia:nn' + if self.site.sitename() != 'wikipedia:nn': for star in starsList: regex = re.compile('({{(?:template:|)%s|.*?}}[\s]*)' % star, re.I) found = regex.findall(text)