Typo in MockBugzillaQueries.fetch_attachment_ids_from_review_queue()
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Jun 2018 04:04:36 +0000 (04:04 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Jun 2018 04:04:36 +0000 (04:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186290

Reviewed by Aakash Jain.

Although the usefulness of the code in MockBugzillaQueries.fetch_attachment_ids_from_review_queue() is
questionable we should fix a typo when calling this mocked function with argument since.

* Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
(MockBugzillaQueries.fetch_attachment_ids_from_review_queue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py

index d34a30b..0c3a26b 100644 (file)
@@ -1,3 +1,16 @@
+2018-06-04  Daniel Bates  <dabates@apple.com>
+
+        Typo in MockBugzillaQueries.fetch_attachment_ids_from_review_queue()
+        https://bugs.webkit.org/show_bug.cgi?id=186290
+
+        Reviewed by Aakash Jain.
+
+        Although the usefulness of the code in MockBugzillaQueries.fetch_attachment_ids_from_review_queue() is
+        questionable we should fix a typo when calling this mocked function with argument since.
+
+        * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py:
+        (MockBugzillaQueries.fetch_attachment_ids_from_review_queue):
+
 2018-06-04  Dan Bernstein  <mitz@apple.com>
 
         Fixed building with the macOS Mojave seed SDK.
index fd889cd..d117ff8 100644 (file)
@@ -297,7 +297,7 @@ class MockBugzillaQueries(object):
         unreviewed_patches = sum([bug.unreviewed_patches()
                                   for bug in self._all_bugs()], [])
         if since:
-            unreviewed_pacthes = [patch for patch in unreviewed_patches
+            unreviewed_patches = [patch for patch in unreviewed_patches
                                         if patch.attach_date() >= since]
         return map(lambda patch: patch.id(), unreviewed_patches)