Changeset 47120 in webkit


Ignore:
Timestamp:
Aug 12, 2009 10:17:27 AM (15 years ago)
Author:
Adam Roben
Message:

Don't raise an exception when --cc is not passed to create-bug

Fixes <http://webkit.org/b/28158> create-bug throws an exception if
--cc is not specified

Reviewed by Dave Kilzer.

  • Scripts/modules/bugzilla.py:

(Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
string was specified. Otherwise we'll generate an exception about the
"cc" variable not being a string.

Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r47111 r47120  
     12009-08-12  Adam Roben  <aroben@apple.com>
     2
     3        Don't raise an exception when --cc is not passed to create-bug
     4
     5        Fixes <http://webkit.org/b/28158> create-bug throws an exception if
     6        --cc is not specified
     7
     8        Reviewed by Dave Kilzer.
     9
     10        * Scripts/modules/bugzilla.py:
     11        (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
     12        string was specified. Otherwise we'll generate an exception about the
     13        "cc" variable not being a string.
     14
    1152009-08-11  Eric Seidel  <eric@webkit.org>
    216
  • trunk/WebKitTools/Scripts/modules/bugzilla.py

    r47111 r47120  
    305305            component = self.prompt_for_component(component_names)
    306306        self.browser['component'] = [component]
    307         self.browser['cc'] = cc
     307        if cc:
     308            self.browser['cc'] = cc
    308309        self.browser['short_desc'] = bug_title
    309310        if bug_description:
Note: See TracChangeset for help on using the changeset viewer.