Title: [254762] trunk/Tools
Revision
254762
Author
[email protected]
Date
2020-01-17 13:06:55 -0800 (Fri, 17 Jan 2020)

Log Message

Python 3: Add support to run-webkit-tests (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=205291

Unreviewed follow-up fix.

* Scripts/webkitpy/common/unicode_compatibility.py:
(decode_for): Handle case where provided value is None.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (254761 => 254762)


--- trunk/Tools/ChangeLog	2020-01-17 21:03:55 UTC (rev 254761)
+++ trunk/Tools/ChangeLog	2020-01-17 21:06:55 UTC (rev 254762)
@@ -1,3 +1,13 @@
+2020-01-17  Jonathan Bedard  <[email protected]>
+
+        Python 3: Add support to run-webkit-tests (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=205291
+
+        Unreviewed follow-up fix.
+
+        * Scripts/webkitpy/common/unicode_compatibility.py:
+        (decode_for): Handle case where provided value is None.
+
 2020-01-17  Brady Eidson  <[email protected]>
 
         TestWebKitAPI.AsyncFunction.Promise times out on slower machines in debug builds.

Modified: trunk/Tools/Scripts/webkitpy/common/unicode_compatibility.py (254761 => 254762)


--- trunk/Tools/Scripts/webkitpy/common/unicode_compatibility.py	2020-01-17 21:03:55 UTC (rev 254761)
+++ trunk/Tools/Scripts/webkitpy/common/unicode_compatibility.py	2020-01-17 21:06:55 UTC (rev 254762)
@@ -58,6 +58,8 @@
 
 
 def decode_for(value, target_type):
+    if value is None:
+        return None
     if type(value) == target_type:
         return value
     if target_type == unicode:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to