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:
  John Vandenberg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/page.py b/pywikibot/page.py
index 34f30b6..6d6b4c3 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -2579,7 +2579,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.'

-- 
To view, visit https://gerrit.wikimedia.org/r/260862
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id11c1650cd869873c3de6a945b05e54236dfed7c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Hazard-SJ <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to