Mwalker has submitted this change and it was merged. Change subject: revive dump_tests, using new config and logging api ......................................................................
revive dump_tests, using new config and logging api Change-Id: Ia0b563adce0b2d78d1845ab23560f9493dc63e71 --- M live_analysis/dump_tests.py 1 file changed, 6 insertions(+), 3 deletions(-) Approvals: Mwalker: Looks good to me, approved jenkins-bot: Verified diff --git a/live_analysis/dump_tests.py b/live_analysis/dump_tests.py index 6e42444..a3dab29 100755 --- a/live_analysis/dump_tests.py +++ b/live_analysis/dump_tests.py @@ -5,9 +5,13 @@ import csv import sys -import mediawiki.centralnotice.api -import process.globals +from process.logging import Logger as log +from process.globals import load_config +load_config("analysis") + +import mediawiki.centralnotice.api +from process.globals import config def is_relevant(entry): ''' @@ -52,5 +56,4 @@ cur = cur + pagesize if __name__ == "__main__": - process.globals.load_config("analysis") fetch() -- To view, visit https://gerrit.wikimedia.org/r/129062 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia0b563adce0b2d78d1845ab23560f9493dc63e71 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/tools Gerrit-Branch: master Gerrit-Owner: Adamw <awi...@wikimedia.org> Gerrit-Reviewer: Mwalker <mwal...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits