[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 Mpaa mpaa.w...@gmail.com changed: What|Removed |Added Status|PATCH_TO_REVIEW |RESOLVED

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 Maarten Dammers maar...@mdammers.nl changed: What|Removed |Added Priority|Unprioritized |Normal

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 --- Comment #2 from Maarten Dammers maar...@mdammers.nl --- The relevant code: pywikibot.Site().login() bot.run() def display_edit_counter(bot): pywikibot.output(u'\n%s pages changed.' % bot.changed_pages) # Queue

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 --- Comment #3 from Maarten Dammers maar...@mdammers.nl --- https://gerrit.wikimedia.org/r/#/c/165654/ seems to be the changeset that introduced this functionality and bug. -- You are receiving this mail because: You are on the CC list for

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 --- Comment #4 from Merlijn van Deen valhall...@arctus.nl --- Seems to be a scoping issue -- replace.py (and thus most of the things inside it, including the pywikibot import) is unloaded when replace.py ends... which is before the function is

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 --- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 172044 had a related patch set uploaded by Mpaa: replace.py: fix display_edit_counter_feature https://gerrit.wikimedia.org/r/172044 -- You are receiving this

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|NEW

[Bug 72942] replace.py display_edit_counter throws AttributeError: 'NoneType' object has no attribute 'output'

2014-11-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72942 --- Comment #6 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 172044 merged by jenkins-bot: replace.py: fix display_edit_counter_feature https://gerrit.wikimedia.org/r/172044 -- You are receiving this mail because: You are