Bug 936133 - Feedback flag passed in incorrectly. r=bustage
authorSteve Fink <sfink@mozilla.com>
Wed, 13 Nov 2013 16:09:31 -0800
changeset 129 f4fff0196015
parent 128 08ee4ab3ee1a
child 130 c604ded99c59
push id60
push usersfink@mozilla.com
push date2013-11-14 00:09 +0000
reviewersbustage
bugs936133
Bug 936133 - Feedback flag passed in incorrectly. r=bustage
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -709,19 +709,17 @@ def flag_type_id(ui, api_server, config_
     return flag_ids[0]
 
 
 def review_flag_type_id(ui, api_server, config_cache_filename, product, component):
     return flag_type_id(ui, api_server, config_cache_filename, 'review', product, component)
 
 
 def feedback_flag_type_id(ui, api_server, config_cache_filename, product, component):
-    return flag_type_id(ui, api_server, config_cache_filename,
-                        [ 'feedback' ], product, component)
-
+    return flag_type_id(ui, api_server, config_cache_filename, 'feedback', product, component)
 
 def create_attachment(ui, api_server, token, bug,
                       config_cache_filename,
                       attachment_contents, description="attachment",
                       filename="attachment", comment="",
                       reviewers=None, feedback=None, product=None, component=None):
 
     opts = {}