diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-10-14 11:17:43 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-10-15 10:15:08 +0200 |
commit | 6b1342253eecd83e514400fccc531205450b13d3 (patch) | |
tree | 44180789a4991c356740dbd2212b548ec35e7368 /gbp/patch_series.py | |
parent | 497addcb69ddb53199c75d29004239e1cbb8495a (diff) |
Fix flake8's W605 (invalid escape sequence)
See also
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r-- | gbp/patch_series.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/patch_series.py b/gbp/patch_series.py index 3d272fd9..c74a414a 100644 --- a/gbp/patch_series.py +++ b/gbp/patch_series.py @@ -272,8 +272,8 @@ class PatchSeries(list): """ A series of L{Patch}es as read from a quilt series file). """ - comment_re = re.compile('\s+#.*$') - level_re = re.compile('-p(?P<level>[0-9]+)') + comment_re = re.compile(r'\s+#.*$') + level_re = re.compile(r'-p(?P<level>[0-9]+)') @classmethod def read_series_file(cls, seriesfile): |