jenkins-bot has submitted this change and it was merged.
Change subject: pep8 fixes ......................................................................
pep8 fixes
Change-Id: I21394ea296d46669ceb73f8a9585068345a7b369 --- M pywikibot/compat/query.py 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/compat/query.py b/pywikibot/compat/query.py index 515100e..a8531ae 100644 --- a/pywikibot/compat/query.py +++ b/pywikibot/compat/query.py @@ -3,6 +3,7 @@ from pywikibot import deprecated from pywikibot import deprecate_arg
+ @deprecated("pywikibot.data.api.Request") @deprecate_arg("useAPI", None) @deprecate_arg("retryCount", None) @@ -10,10 +11,10 @@ def GetData(request, site=None, back_response=False): if site: request['site'] = site - + req = api.Request(**request) result = req.submit() - + if back_response: pywikibot.warning(u"back_response is no longer supported; an empty response object will be returned") import StringIO