Page MenuHomePhabricator

warning: TemplateRobot has a generator already
Closed, ResolvedPublicBUG REPORT

Description

C:\pwb\GIT\core>pwb template "Foo" "delete" -simulate
WARNING: C:\pwb\GIT\core\pywikibot\bot.py:1205: UserWarning: TemplateRobot has a generator already. Ignoring argument.
  pywikibot.warn('{} has a generator already. Ignoring argument.'

WARNING: generator is not a valid option. It was ignored.

0 pages read
0 pages written
0 pages skipped
Execution time: 0 seconds
Script terminated successfully.

C:\pwb\GIT\core>

Event Timeline

Xqt triaged this task as Low priority.Jun 8 2021, 7:31 AM
Xqt changed the subtype of this task from "Task" to "Bug Report".

Change 698722 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [bugfix] Do not try to initialze generator twice in TemplateRobot

https://gerrit.wikimedia.org/r/698722

Change 698722 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] Do not try to initialze generator twice in TemplateRobot

https://gerrit.wikimedia.org/r/698722