Changeset 55704 in webkit


Ignore:
Timestamp:
Mar 8, 2010 8:21:08 PM (14 years ago)
Author:
ukai@chromium.org
Message:

2010-03-08 Fumitoshi Ukai <ukai@chromium.org>

Reviewed by Adam Barth.

Fix webkit-patch post and land to work well with security bug
https://bugs.webkit.org/show_bug.cgi?id=35733

Bugzilla requires authentication to access security bug page,
so call authenticate() if it failed to fetch bug page.

  • Scripts/webkitpy/bugzilla.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r55689 r55704  
     12010-03-08  Fumitoshi Ukai  <ukai@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Fix webkit-patch post and land to work well with security bug
     6        https://bugs.webkit.org/show_bug.cgi?id=35733
     7
     8        Bugzilla requires authentication to access security bug page,
     9        so call authenticate() if it failed to fetch bug page.
     10
     11        * Scripts/webkitpy/bugzilla.py:
     12
    1132010-03-04  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/WebKitTools/Scripts/webkitpy/bugzilla.py

    r55363 r55704  
    419419
    420420    def fetch_bug_dictionary(self, bug_id):
    421         return self._parse_bug_page(self._fetch_bug_page(bug_id))
     421        try:
     422            return self._parse_bug_page(self._fetch_bug_page(bug_id))
     423        except:
     424            self.authenticate()
     425            return self._parse_bug_page(self._fetch_bug_page(bug_id))
    422426
    423427    # FIXME: A BugzillaCache object should provide all these fetch_ methods.
Note: See TracChangeset for help on using the changeset viewer.