Title: [243464] trunk/Tools
Revision
243464
Author
aakash_j...@apple.com
Date
2019-03-25 15:04:50 -0700 (Mon, 25 Mar 2019)

Log Message

[ews-build] Gracefully handle missing patch_id in events
https://bugs.webkit.org/show_bug.cgi?id=196216

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-build/events.py:

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-build/events.py (243463 => 243464)


--- trunk/Tools/BuildSlaveSupport/ews-build/events.py	2019-03-25 22:03:30 UTC (rev 243463)
+++ trunk/Tools/BuildSlaveSupport/ews-build/events.py	2019-03-25 22:04:50 UTC (rev 243464)
@@ -100,7 +100,7 @@
         return build.get('properties').get('buildername')[0]
 
     def getPatchID(self, build):
-        if not (build and 'properties' in build):
+        if not (build and 'properties' in build and 'patch_id' in build['properties']):
             return None
 
         return build.get('properties').get('patch_id')[0]

Modified: trunk/Tools/ChangeLog (243463 => 243464)


--- trunk/Tools/ChangeLog	2019-03-25 22:03:30 UTC (rev 243463)
+++ trunk/Tools/ChangeLog	2019-03-25 22:04:50 UTC (rev 243464)
@@ -1,5 +1,14 @@
 2019-03-25  Aakash Jain  <aakash_j...@apple.com>
 
+        [ews-build] Gracefully handle missing patch_id in events
+        https://bugs.webkit.org/show_bug.cgi?id=196216
+
+        Reviewed by Lucas Forschler.
+
+        * BuildSlaveSupport/ews-build/events.py:
+
+2019-03-25  Aakash Jain  <aakash_j...@apple.com>
+
         [ews-build] use lz4 compression for improving buildbot performance
         https://bugs.webkit.org/show_bug.cgi?id=196155
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to