On Fri, Sep 25, 2009 at 11:50 AM, Russell Blau <[email protected]>wrote:
> > Actually, that's not quite true. The relevant loop in the current revision > of rewrite/scripts/replace.py is as follows: > > # Read commandline parameters. > for arg in pywikibot.handleArgs(*args): > if genFactory.handleArg(arg): > continue > if arg == '-regex': > regex = True > # ... many elif: clauses omitted > else: > commandline_replacements.append(arg) > > gen = genFactory.getCombinedGenerator() > > The code snippet included in your original posting was significantly > different, and the last line read gen = > genFactory.getCombinedGenerator(gen). > > You are right, I messed the revisions in this particular file. Sorry about that and thanks for your time.
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
