summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-08-31 13:53:59 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2009-08-31 13:55:41 -0400
commit9669815571e4ee575bdf43eef5b6ab736d93a930 (patch)
tree323b0e7641e81a0cabfc7436c0f34bf88670281d
parent7106719039cf7223faa22571fd8e5b7595664abb (diff)
Use .add() for sets not .append()
Fix a problem with adding patches to the 'unapplied_patches' set.
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
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