projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1fc7f
)
rpm.policy: don't allow leading whitespace in bts meta tags
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Fri, 6 Jun 2014 09:39:15 +0000
(12:39 +0300)
committer
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Fri, 6 Jun 2014 09:48:23 +0000
(12:48 +0300)
Change-Id: Ib2d39739b4609c088b04b286adfb6aeb5e07f78a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/rpm/policy.py
patch
|
blob
|
history
diff --git
a/gbp/rpm/policy.py
b/gbp/rpm/policy.py
index
216bd53
..
8f93d0f
100644
(file)
--- a/
gbp/rpm/policy.py
+++ b/
gbp/rpm/policy.py
@@
-187,7
+187,7
@@
class RpmPkgPolicy(PkgPolicy):
"""
tags = {}
other_lines = []
- bts_re = re.compile(r'^
\s*
(?P<tag>%s):\s*(?P<ids>.*)' %
+ bts_re = re.compile(r'^(?P<tag>%s):\s*(?P<ids>.*)' %
('|'.join(meta_tags)), re.I)
bug_id_re = re.compile(cls.bug_id_re)
for line in lines: