aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/patch_series.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r--gbp/patch_series.py4
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):