summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2008-11-22 11:25:44 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2008-11-22 11:25:44 -0500
commit2fb7754e13e1524947d8ec7a93a4c0520cda7319 (patch)
tree719be93268eaffab5a5555c2b00ad68ea0d7c194
parente97d1d84ff05a7db431ba1e9a03955c4e2f7affb (diff)
downloadgit-bz-2fb7754e13e1524947d8ec7a93a4c0520cda7319.tar.gz
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.
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
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 <product>/<component> pair" % product_component)
product = m.group(1)