jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/342316 )
Change subject: Remove 'invalid escape sequence' DeprecationWarning in py3 ......................................................................
Remove 'invalid escape sequence' DeprecationWarning in py3
Change-Id: I1720647aa27abb9880bb591431c0ddddc74c6003 --- M pywikibot/site.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/site.py b/pywikibot/site.py index 28643e1..4758cec 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -1402,8 +1402,8 @@ All values of the siteinfo property 'general' are directly available. """
- WARNING_REGEX = re.compile('^Unrecognized values? for parameter ' - '["']siprop["']: (.+?).?$') + WARNING_REGEX = re.compile(r'^Unrecognized values? for parameter ' + r'["']siprop["']: (.+?).?$')
# Until we get formatversion=2, we have to convert empty-string properties # into booleans so they are easier to use.
pywikibot-commits@lists.wikimedia.org