2009-11-27 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / WebKitTools / Scripts / modules / commands / download.py
index 98a8ebbaa821a6db74b1b258f6a46543160f5ee6..365b4079a2b4a399d8b302650cc2709ad1a4cfd7 100644 (file)
@@ -79,6 +79,7 @@ class Build(Command):
         sequence.run_and_handle_errors()
 
 
+# FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
 class ApplyAttachment(Command):
     name = "apply-attachment"
     show_in_main_help = True
@@ -94,6 +95,7 @@ class ApplyAttachment(Command):
         WebKitApplyingScripts.apply_patches_with_options(tool.scm(), [attachment], options)
 
 
+# FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
 class ApplyPatches(Command):
     name = "apply-patches"
     show_in_main_help = True
@@ -229,7 +231,7 @@ class AbstractPatchProcessingCommand(Command):
         bugs_to_patches = {}
         for patch in patches:
             bug_id = patch["bug_id"]
-            bugs_to_patches[bug_id] = bugs_to_patches.get(bug_id, []).append(patch)
+            bugs_to_patches[bug_id] = bugs_to_patches.get(bug_id, []) + [patch]
         return bugs_to_patches
 
     def execute(self, options, args, tool):
@@ -350,6 +352,7 @@ class LandPatches(AbstractPatchLandingCommand):
         return all_patches
 
 
+# FIXME: Requires unit test.
 class Rollout(Command):
     name = "rollout"
     show_in_main_help = True