diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2009-08-31 13:53:59 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2009-08-31 13:55:41 -0400 |
commit | 9669815571e4ee575bdf43eef5b6ab736d93a930 (patch) | |
tree | 323b0e7641e81a0cabfc7436c0f34bf88670281d | |
parent | 7106719039cf7223faa22571fd8e5b7595664abb (diff) | |
download | git-bz-9669815571e4ee575bdf43eef5b6ab736d93a930.tar.gz |
Use .add() for sets not .append()
Fix a problem with adding patches to the 'unapplied_patches' set.
-rwxr-xr-x | git-bz | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |