Revision: 4729 Author: rotem Date: 2007-12-18 17:20:11 +0000 (Tue, 18 Dec 2007)
Log Message: ----------- (bug 1830920) Indentation error caused some values of the array 'exceptions' to remain strings and not become regexps when -nocase was used.
Modified Paths: -------------- trunk/pywikipedia/replace.py
Modified: trunk/pywikipedia/replace.py =================================================================== --- trunk/pywikipedia/replace.py 2007-12-18 11:09:00 UTC (rev 4728) +++ trunk/pywikipedia/replace.py 2007-12-18 17:20:11 UTC (rev 4729) @@ -552,7 +552,7 @@ patterns = [re.compile(pattern, re.UNICODE | re.IGNORECASE) for pattern in patterns] else: patterns = [re.compile(pattern, re.UNICODE) for pattern in patterns] - exceptions[exceptionCategory] = patterns + exceptions[exceptionCategory] = patterns
if xmlFilename: try:
pywikipedia-l@lists.wikimedia.org