Title: [290777] trunk/Tools
Revision
290777
Author
[email protected]
Date
2022-03-03 08:53:59 -0800 (Thu, 03 Mar 2022)

Log Message

[Python-3] Invoke webkit-patch with Python 3 by default (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=231591
<rdar://problem/84153640>

Unreviewed follow-up fix.


* Scripts/webkitpy/tool/commands/download.py:
(AbstractRevertPrepCommand._prepare_state): Reason may be spread accross multiple arguments.
* Scripts/webkitpy/tool/commands/download_unittest.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (290776 => 290777)


--- trunk/Tools/ChangeLog	2022-03-03 16:09:24 UTC (rev 290776)
+++ trunk/Tools/ChangeLog	2022-03-03 16:53:59 UTC (rev 290777)
@@ -1,3 +1,15 @@
+2022-03-03  Jonathan Bedard  <[email protected]>
+
+        [Python-3] Invoke webkit-patch with Python 3 by default (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=231591
+        <rdar://problem/84153640>
+
+        Unreviewed follow-up fix.
+
+        * Scripts/webkitpy/tool/commands/download.py:
+        (AbstractRevertPrepCommand._prepare_state): Reason may be spread accross multiple arguments.
+        * Scripts/webkitpy/tool/commands/download_unittest.py:
+
 2022-03-03  Philippe Normand  <[email protected]>
 
         [Python3] Switch a couple glib/flatpak scripts to Python3

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/download.py (290776 => 290777)


--- trunk/Tools/Scripts/webkitpy/tool/commands/download.py	2022-03-03 16:09:24 UTC (rev 290776)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/download.py	2022-03-03 16:53:59 UTC (rev 290777)
@@ -322,7 +322,7 @@
         state = {
             "revision": earliest_revision,
             "revision_list": revision_list,
-            "reason": args[1],
+            "reason": ' '.join(args[1:]),
             "bug_id": None,
             "bug_id_list": bug_id_list,
             "description_list": description_list,

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/download_unittest.py (290776 => 290777)


--- trunk/Tools/Scripts/webkitpy/tool/commands/download_unittest.py	2022-03-03 16:09:24 UTC (rev 290776)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/download_unittest.py	2022-03-03 16:53:59 UTC (rev 290777)
@@ -374,7 +374,7 @@
 Committed r49824: <https://commits.webkit.org/r49824>
 MOCK reopen_bug 50000 with comment 'Reverted r852 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 """
@@ -391,12 +391,12 @@
 Committed r49824: <https://commits.webkit.org/r49824>
 MOCK reopen_bug 50000 with comment 'Reverted r852 and r963 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 MOCK reopen_bug 50005 with comment 'Reverted r852 and r963 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 """
@@ -414,17 +414,17 @@
 Committed r49824: <https://commits.webkit.org/r49824>
 MOCK reopen_bug 50000 with comment 'Reverted r852, r963 and r3001 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 MOCK reopen_bug 50005 with comment 'Reverted r852, r963 and r3001 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 MOCK reopen_bug 50004 with comment 'Reverted r852, r963 and r3001 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 """
@@ -442,12 +442,12 @@
 Committed r49824: <https://commits.webkit.org/r49824>
 MOCK reopen_bug 50000 with comment 'Reverted r852, r963 and r999 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 MOCK reopen_bug 50005 with comment 'Reverted r852, r963 and r999 for reason:
 
-Reason
+Reason Description
 
 Committed r49824 (5@main): <https://commits.webkit.org/5@main>'
 """
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to