chiark
/
gitweb
/
~ianmdlvl
/
git-buildpackage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Escape: Add missing r in regexp literals ('...' => r'...') [6]
[git-buildpackage.git]
/
gbp
/
scripts
/
pq.py
diff --git
a/gbp/scripts/pq.py
b/gbp/scripts/pq.py
index 7bf7736f2d61f49c65933c524f769e77b5336306..babff1c51307c18cb07df9e6a4d8d2074943e0da 100755
(executable)
--- a/
gbp/scripts/pq.py
+++ b/
gbp/scripts/pq.py
@@
-48,7
+48,7
@@
def parse_old_style_topic(commit_info):
"""Parse 'gbp-pq-topic:' line(s) from commit info"""
commit = commit_info['id']
- topic_regex = 'gbp-pq-topic:\s*(?P<topic>\S.*)'
+ topic_regex =
r
'gbp-pq-topic:\s*(?P<topic>\S.*)'
mangled_body = ''
topic = ''
# Parse and filter commit message body