Revision: 7675 Author: filnik Date: 2009-11-20 21:40:12 +0000 (Fri, 20 Nov 2009)
Log Message: ----------- Bugfix -> wrong badname written in output
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2009-11-20 20:58:54 UTC (rev 7674) +++ trunk/pywikipedia/welcome.py 2009-11-20 21:40:12 UTC (rev 7675) @@ -562,13 +562,13 @@ self.bname = bname return True except UnicodeEncodeError: - pass - + pass try: for wname in self._whitelist: if wname.lower() in str(name.lower()): name = name.replace(wname.lower(), '') for bname in self._blacklist: + self.bname = bname return bname.lower() in name.lower() except UnicodeEncodeError: pass
pywikipedia-svn@lists.wikimedia.org