John Vandenberg has uploaded a new change for review.
https://gerrit.wikimedia.org/r/262445
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(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/45/262445/1
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.'
--
To view, visit https://gerrit.wikimedia.org/r/262445
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id11c1650cd869873c3de6a945b05e54236dfed7c
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: Hazard-SJ <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits