diff options
author | Chris Cormack <chrisc@catalyst.net.nz> | 2015-07-13 16:37:41 +1200 |
---|---|---|
committer | Chris Cormack <chrisc@catalyst.net.nz> | 2015-07-13 16:38:54 +1200 |
commit | 6eb891692cc08d07bc5bf2b304f65e24c019a4cd (patch) | |
tree | 7163437f922ed8d5fe0936a35e39b69657c59632 | |
parent | 650fce32ac875737acbd3ce07b2aa06b2769e53f (diff) | |
download | git-bz-6eb891692cc08d07bc5bf2b304f65e24c019a4cd.tar.gz |
Fix for git-bz to deal with the fact the output of changing a status has changed slightly
-rwxr-xr-x | git-bz | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) |