[PATCH 7/7] Fix Python3.6 depreciation warnings
stephen at that.guru
Sat Jan 27 08:23:13 AEDT 2018
On Thu, 2018-01-25 at 13:43 +1100, Daniel Axtens wrote:
> We see on Travis and on tox:
> DeprecationWarning: invalid escape sequence \d
> id_re = re.compile('<tr id="patch_row:(\d+)"')
> gs.py:248: DeprecationWarning: invalid escape sequence \s
> form_re_template = ('<form\s+[^>]*action="%(url)s"[^>]*>'
> 16: DeprecationWarning: invalid escape sequence \
> '\ No newline at end of file'))
> All of these are easy to fix: just mark them as raw strings.
> Signed-off-by: Daniel Axtens <dja at axtens.net>
Reviewed-by: Stephen Finucane <stephen at that.guru>
More information about the Patchwork