summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Cormack <chrisc@catalyst.net.nz>2015-07-13 16:37:41 +1200
committerChris Cormack <chrisc@catalyst.net.nz>2015-07-13 16:38:54 +1200
commit6eb891692cc08d07bc5bf2b304f65e24c019a4cd (patch)
tree7163437f922ed8d5fe0936a35e39b69657c59632
parent650fce32ac875737acbd3ce07b2aa06b2769e53f (diff)
downloadgit-bz-6eb891692cc08d07bc5bf2b304f65e24c019a4cd.tar.gz
Fix for git-bz to deal with the fact the output of changing a status has changed slightly
-rwxr-xr-xgit-bz3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index de76437..442ce56 100755
--- a/git-bz
+++ b/git-bz
@@ -1380,11 +1380,10 @@ class Bug(object):
response = self.server.send_post("/process_bug.cgi", changes)
response_data = response.read()
if not check_for_success(response, response_data,
- r"<title>\s*Bug[\S\s]*processed\s*</title>"):
+ r"<title>\s*[Bug]*[\S\s]*processed\s*</title>"):
# Mid-air collisions would be indicated by
# "<title>Mid-air collision!</title>"
-
print response_data
die ("Failed to update bug %d, status=%d" % (self.id, response.status))