jenkins-bot has submitted this change and it was merged.
Change subject: pywikibot.WARNING -> pywikibot.logging.WARNING ......................................................................
pywikibot.WARNING -> pywikibot.logging.WARNING
compat imported WARNING directly into wikipedia.py, but core does not do that in pywikibot.
Change-Id: Id11c1650cd869873c3de6a945b05e54236dfed7c --- M pywikibot/page.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/page.py b/pywikibot/page.py index 313bd56..af178f0 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -2454,7 +2454,7 @@ if targetCat.exists(): pywikibot.output(u'Target page %s already exists!' % targetCat.title(), - level=pywikibot.WARNING) + level=pywikibot.logging.WARNING) return False else: pywikibot.output('Moving text from %s to %s.'
pywikibot-commits@lists.wikimedia.org