Title: [238956] trunk/Tools
Revision
238956
Author
aakash_j...@apple.com
Date
2018-12-07 10:48:55 -0800 (Fri, 07 Dec 2018)

Log Message

Style queue exception on some security bugs
https://bugs.webkit.org/show_bug.cgi?id=190793

Reviewed by Lucas Forschler.

* Scripts/webkitpy/tool/steps/applywatchlist.py:
(ApplyWatchList.run):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (238955 => 238956)


--- trunk/Tools/ChangeLog	2018-12-07 18:40:31 UTC (rev 238955)
+++ trunk/Tools/ChangeLog	2018-12-07 18:48:55 UTC (rev 238956)
@@ -1,3 +1,13 @@
+2018-12-07  Aakash Jain  <aakash_j...@apple.com>
+
+        Style queue exception on some security bugs
+        https://bugs.webkit.org/show_bug.cgi?id=190793
+
+        Reviewed by Lucas Forschler.
+
+        * Scripts/webkitpy/tool/steps/applywatchlist.py:
+        (ApplyWatchList.run):
+
 2018-12-07  Wenson Hsieh  <wenson_hs...@apple.com>
 
         [Attachment Support] Cloned attachment elements lose their unique identifiers

Modified: trunk/Tools/Scripts/webkitpy/tool/steps/applywatchlist.py (238955 => 238956)


--- trunk/Tools/Scripts/webkitpy/tool/steps/applywatchlist.py	2018-12-07 18:40:31 UTC (rev 238955)
+++ trunk/Tools/Scripts/webkitpy/tool/steps/applywatchlist.py	2018-12-07 18:48:55 UTC (rev 238956)
@@ -51,6 +51,9 @@
         if bug_id:
             # Remove emails and cc's which are already in the bug or the reporter.
             bug = self._tool.bugs.fetch_bug(bug_id)
+            if not bug:
+                _log.info('Unable to fetch bug {}. Skipped applying watchlist.'.format(bug_id))
+                return
 
             messages = filter(lambda message: not bug.is_in_comments(message), messages)
             cc_emails = set(cc_emails).difference(bug.cc_emails())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to