Title: [240483] trunk/Tools
Revision
240483
Author
jbed...@apple.com
Date
2019-01-25 10:48:29 -0800 (Fri, 25 Jan 2019)

Log Message

webkitpy: Missing PID in crashlog name should not be fatal (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=193771

Unreviewed infrastructure fix.

* Scripts/webkitpy/port/darwin.py:
(DarwinPort._merge_crash_logs): Correct syntax for catching multiple exception types.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (240482 => 240483)


--- trunk/Tools/ChangeLog	2019-01-25 18:46:49 UTC (rev 240482)
+++ trunk/Tools/ChangeLog	2019-01-25 18:48:29 UTC (rev 240483)
@@ -1,3 +1,13 @@
+2019-01-25  Jonathan Bedard  <jbed...@apple.com>
+
+        webkitpy: Missing PID in crashlog name should not be fatal (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=193771
+
+        Unreviewed infrastructure fix.
+
+        * Scripts/webkitpy/port/darwin.py:
+        (DarwinPort._merge_crash_logs): Correct syntax for catching multiple exception types.
+
 2019-01-25  Alexey Proskuryakov  <a...@apple.com>
 
         * Scripts/webkitpy/common/config/contributors.json: Removing a stray comma.

Modified: trunk/Tools/Scripts/webkitpy/port/darwin.py (240482 => 240483)


--- trunk/Tools/Scripts/webkitpy/port/darwin.py	2019-01-25 18:46:49 UTC (rev 240482)
+++ trunk/Tools/Scripts/webkitpy/port/darwin.py	2019-01-25 18:48:29 UTC (rev 240483)
@@ -104,7 +104,7 @@
                 else:
                     process_name = test.split('-')[0]
                     pid = int(test.split('-')[1])
-            except IndexError, ValueError:
+            except (IndexError, ValueError):
                 continue
             if not any(entry[1] == process_name and entry[2] == pid for entry in crashed_processes):
                 # if this is a new crash, then append the logs
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to