jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/462172 )
Change subject: [doc] handleArgs() is deprecated; change doc strings accordingly ......................................................................
[doc] handleArgs() is deprecated; change doc strings accordingly
Change-Id: Ib321c3642edc5a80783b6563a80969d269e9e7aa --- M pywikibot/bot.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Framawiki: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 9721ded..e17bef5 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -255,7 +255,7 @@ This function must be called before using pywikibot.output(); and must be called again if the destination stream is changed.
- Note: this function is called by handleArgs(), so it should normally + Note: this function is called by handle_args(), so it should normally not need to be called explicitly
All user output is routed through the logging module. @@ -375,7 +375,7 @@ # script call time stamp log(u'DATE: %s UTC' % str(datetime.datetime.utcnow()))
- # new framework release/revision? (handleArgs needs to be called first) + # new framework release/revision? (handle_args needs to be called first) try: log(u'VERSION: %s' % version.getversion(online=config.log_pywiki_repo_version).strip())
pywikibot-commits@lists.wikimedia.org