[Pywikipedia-l] SVN: [4637] trunk/pywikipedia/casechecker.py

yurik at svn.wikimedia.org yurik at svn.wikimedia.org
Tue Dec 4 01:58:58 UTC 2007


Revision: 4637
Author:   yurik
Date:     2007-12-04 01:58:58 +0000 (Tue, 04 Dec 2007)

Log Message:
-----------
casechecker bug fix

Modified Paths:
--------------
    trunk/pywikipedia/casechecker.py

Modified: trunk/pywikipedia/casechecker.py
===================================================================
--- trunk/pywikipedia/casechecker.py	2007-12-03 22:06:35 UTC (rev 4636)
+++ trunk/pywikipedia/casechecker.py	2007-12-04 01:58:58 UTC (rev 4637)
@@ -218,6 +218,7 @@
                 wikipedia.output(u'Whitelist: [[%s]]' % u']], [['.join(self.knownWords))
         else:
             wikipedia.output(u'Whitelist is not known for language %s' % self.site.lang)
+            self.knownWords = set()
 
     def Run(self):
         try:





More information about the Pywikipedia-l mailing list