diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2008-11-22 11:25:44 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2008-11-22 11:25:44 -0500 |
commit | 2fb7754e13e1524947d8ec7a93a4c0520cda7319 (patch) | |
tree | 719be93268eaffab5a5555c2b00ad68ea0d7c194 | |
parent | e97d1d84ff05a7db431ba1e9a03955c4e2f7affb (diff) | |
download | git-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-x | git-bz | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |