From 3f21f465880443b846c219675c1f4b50c5a568ac Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sun, 30 Aug 2009 22:14:15 -0400 Subject: Fix marking patches as obsolete from 'git bz edit' Field value for isobsolete must be string "1" not 1. --- git-bz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-bz b/git-bz index 657799b..86814ed 100755 --- a/git-bz +++ b/git-bz @@ -1551,7 +1551,7 @@ def edit_bug(bug, applied_commits=None): attachment_changes['comment'] = comment del bug_changes['comment'] if status == 'obsolete': - attachment_changes['isobsolete'] = 1 + attachment_changes['isobsolete'] = "1" else: attachment_changes['status'] = status bug.update_patch(patch, **attachment_changes) -- cgit