From 2fb7754e13e1524947d8ec7a93a4c0520cda7319 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sat, 22 Nov 2008 11:25:44 -0500 Subject: Allow spaces in products and components While spaces in products and components may not be common, bugzilla.openedhand.com has, for example, "Metacity (Clutter port)" as a product. So allow that. --- git-bz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-bz b/git-bz index ad84321..ad17ab1 100755 --- a/git-bz +++ b/git-bz @@ -851,7 +851,7 @@ def do_attach(bug_reference, since_or_revision_range): attach_commits(bug, commits) def do_file(product_component, since_or_revision_range): - m = re.match("([^/\s]+)/([^/\s]+)", product_component) + m = re.match("([^/]+)/([^/]+)", product_component) if not m: die("'%s' is not a valid / pair" % product_component) product = m.group(1) -- cgit v1.2.3