From 9669815571e4ee575bdf43eef5b6ab736d93a930 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Mon, 31 Aug 2009 13:53:59 -0400 Subject: Use .add() for sets not .append() Fix a problem with adding patches to the 'unapplied_patches' set. --- git-bz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-bz b/git-bz index 935d7e1..416ced2 100755 --- a/git-bz +++ b/git-bz @@ -1470,7 +1470,7 @@ def filter_patches(bug, applied_commits): newly_applied_patches[patch] = applied_subjects[patch.description] seen_subjects.add(patch) else: - unapplied_patches.append(patch) + unapplied_patches.add(patch) return newly_applied_patches, obsoleted_patches, unapplied_patches -- cgit v1.2.3