Revision: 4997 Author: wikipedian Date: 2008-02-10 00:18:04 +0000 (Sun, 10 Feb 2008)
Log Message: ----------- Oops, I didn't mean to commit this. Undo.
Modified Paths: -------------- trunk/pywikipedia/pagegenerators.py
Modified: trunk/pywikipedia/pagegenerators.py =================================================================== --- trunk/pywikipedia/pagegenerators.py 2008-02-09 23:39:24 UTC (rev 4996) +++ trunk/pywikipedia/pagegenerators.py 2008-02-10 00:18:04 UTC (rev 4997) @@ -529,11 +529,9 @@ if index is None: raise ValueError(u'Unknown namespace: %s' % ns) namespaces[i] = index - rTMP = re.compile(r'\d') for page in generator: - if rTMP.search(page.title()) == None: - if page.namespace() in namespaces: - yield page + if page.namespace() in namespaces: + yield page
def RedirectFilterPageGenerator(generator): """
pywikipedia-l@lists.wikimedia.org