Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/189452
Change subject: mw-api-siteinfo: module level import at top of file
......................................................................
mw-api-siteinfo: module level import at top of file
The bin/mw-api-siteinfo.py script needs to be adjusted for the new
flake8 version that was fixed recently. Move the module imports at the
top of the file (fix flake8 E402).
Change-Id: I5ef8f0091709ecea85740fa7aab1da71fc479c56
---
M bin/mw-api-siteinfo.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins
refs/changes/52/189452/1
diff --git a/bin/mw-api-siteinfo.py b/bin/mw-api-siteinfo.py
index 51b11a7..0ab93c3 100755
--- a/bin/mw-api-siteinfo.py
+++ b/bin/mw-api-siteinfo.py
@@ -7,6 +7,10 @@
Script to retrieve MediaWiki site information over its API
"""
+import argparse
+import json
+import requests
+
EPILOG = """
NOTE: MediaWiki API fields are normalized to use underscores instead of dashes.
@@ -15,10 +19,6 @@
mw-api-siteinfo.py --list http://www.mediawiki.org/w/api.php
mw-api-siteinfo.py http://www.mediawiki.org/w/api.php generator
"""
-
-import argparse
-import json
-import requests
API_QUERY = {
'action': 'query',
--
To view, visit https://gerrit.wikimedia.org/r/189452
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ef8f0091709ecea85740fa7aab1da71fc479c56
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits