Title: [285103] trunk/Tools
Revision
285103
Author
aakash_j...@apple.com
Date
2021-11-01 07:11:59 -0700 (Mon, 01 Nov 2021)

Log Message

Fix a typo in EWS emails

Modified Paths


Diff

Modified: trunk/Tools/CISupport/ews-build/steps.py (285102 => 285103)


--- trunk/Tools/CISupport/ews-build/steps.py	2021-11-01 13:17:55 UTC (rev 285102)
+++ trunk/Tools/CISupport/ews-build/steps.py	2021-11-01 14:11:59 UTC (rev 285103)
@@ -1775,7 +1775,7 @@
             if logs:
                 logs = logs.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;')
                 email_text += '\n\nError lines:\n\n<code>{}</code>'.format(logs)
-            email_text += '\n\nTo unsubscrible from these notifications or to provide any feedback please email aakash_j...@apple.com'
+            email_text += '\n\nTo unsubscribe from these notifications or to provide any feedback please email aakash_j...@apple.com'
             self._addToLog('stdio', 'Sending email notification to {}'.format(patch_author))
             send_email_to_patch_author(patch_author, email_subject, email_text, patch_id)
         except Exception as e:
@@ -2622,7 +2622,7 @@
             email_text += ' for <a href="" {}</a>.'.format(Bugzilla.bug_url(bug_id), bug_id)
             email_text += '\n\nFull details are available at: {}\n\nPatch author: {}'.format(build_url, patch_author)
             email_text += '\n\nLayout test failure{}:\n{}'.format(pluralSuffix, test_names_string)
-            email_text += '\n\nTo unsubscrible from these notifications or to provide any feedback please email aakash_j...@apple.com'
+            email_text += '\n\nTo unsubscribe from these notifications or to provide any feedback please email aakash_j...@apple.com'
             self._addToLog('stdio', 'Sending email notification to {}'.format(patch_author))
             send_email_to_patch_author(patch_author, email_subject, email_text, patch_id)
         except Exception as e:

Modified: trunk/Tools/CISupport/ews-build/steps_unittest.py (285102 => 285103)


--- trunk/Tools/CISupport/ews-build/steps_unittest.py	2021-11-01 13:17:55 UTC (rev 285102)
+++ trunk/Tools/CISupport/ews-build/steps_unittest.py	2021-11-01 14:11:59 UTC (rev 285103)
@@ -4266,7 +4266,7 @@
     def test_load_contributors_from_disk(self):
         ValidateCommiterAndReviewer._addToLog = lambda cls, logtype, log: sys.stdout.write(log)
         contributors = filter(lambda element: element.get('name') == 'Aakash Jain', ValidateCommiterAndReviewer().load_contributors_from_disk())
-        self.assertEqual(list(contributors)[0]['emails'], ['aakash_j...@apple.com'])
+        self.assertEqual(list(contributors)[0]['emails'][0], 'aakash_j...@apple.com')
 
 
 class TestCheckPatchStatusOnEWSQueues(BuildStepMixinAdditions, unittest.TestCase):

Modified: trunk/Tools/ChangeLog (285102 => 285103)


--- trunk/Tools/ChangeLog	2021-11-01 13:17:55 UTC (rev 285102)
+++ trunk/Tools/ChangeLog	2021-11-01 14:11:59 UTC (rev 285103)
@@ -1,3 +1,14 @@
+2021-11-01  Aakash Jain  <aakash_j...@apple.com>
+
+        Fix a typo in EWS emails
+
+        Unreviewed minor fix.
+
+        * CISupport/ews-build/steps.py:
+        (AnalyzeCompileWebKitResults.send_email_for_new_build_failure):
+        (AnalyzeLayoutTestsResults.send_email_for_new_test_failures):
+        * CISupport/ews-build/steps_unittest.py: Unit-test fix after 243670@main.
+
 2021-10-30  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Layer tree should not be stuck in frozen state after explicitly stopping a page load
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to