Build Update for wikimedia/pywikibot-core -------------------------------------
Build: #3818 Status: Errored
Duration: 47 minutes and 31 seconds Commit: 851daa3 (master) Author: zhuyifei1999 Message: APISite.data_repository(): handle warning with re.match()
In 4e6810e, the message was added to i18n. During the process, the message changed: a period was added to the end, and the single quotation marks (') were changed to <var> tag, which in turn creates double quotation marks ("). However, luckily, the warning (somehow converted from an error internally in MediaWiki) seems to stay in English regardless of which site we are operating on.
Like the other places where req._warning_handler is used, here, to maintain backwards compatibility, we regex-compare the warning to account for the changes to the warning message. The regex itself is not wrapped after 80 characters due to that wrapping a string would be easily confused with wrapping multiple parameters.
Bug: T156596 Change-Id: I47436809960de23746eeb4877a9919772ce11448
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/a188e897b0de...851daa3d5...
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/197038763
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
pywikibot-commits@lists.wikimedia.org