summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-08-30 22:14:15 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2009-08-30 22:14:15 -0400
commit3f21f465880443b846c219675c1f4b50c5a568ac (patch)
treed5a0fe2a89ca1bcfb536e26018e9a74fda18f8e1
parent846ea3ae76f3e9bbfca310280db5f8d63146d28c (diff)
downloadgit-bz-3f21f465880443b846c219675c1f4b50c5a568ac.tar.gz
Fix marking patches as obsolete from 'git bz edit'
Field value for isobsolete must be string "1" not 1.
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
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)