[kteam-tools][PATCH] ktl: Accept more whitespace in bug numbers match
Kamal Mostafa
kamal at canonical.com
Wed Aug 24 15:04:16 UTC 2016
Allow for extra(neous) whitespace between bug numbers.
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
ktl/debian.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ktl/debian.py b/ktl/debian.py
index 9ba2836..4c64a1c 100644
--- a/ktl/debian.py
+++ b/ktl/debian.py
@@ -30,7 +30,7 @@ class Debian:
package_rc = compile("^(linux[-\S])*.*$")
ver_rc = compile("^linux[-\S]* \(([0-9]+\.[0-9]+\.[0-9]+[-\.][0-9]+\.[0-9]+[~a-z0-9]*)\).*$")
- bug_rc = compile("LP:\s#[0-9]+(?:,\s#[0-9]+)*")
+ bug_rc = compile("LP:\s*#[0-9]+(?:\s*,\s*#[0-9]+)*")
bug_nr_rc = compile("#([0-9]+)")
# debian_directories
--
2.7.4
More information about the kernel-team
mailing list