https://bugzilla.wikimedia.org/show_bug.cgi?id=72120
--- Comment #2 from John Mark Vandenberg <[email protected]> --- A better pattern to use and promote is: local_args = pywikibot.handleArgs() site = pywikibot.Site() genFactory = pagegenerators.GeneratorFactory(site) for arg in local_args: if genFactory.handleArg(arg): pass ... As that shows the fact that genFactory needs a site object. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
