dynamic_suite: spelling fix comparitors -> comparators
BUG=None
TEST=unit tests
Change-Id: Ibd8ef1f193e3df840010a447ac11888c368ff76c
Reviewed-on: https://chromium-review.googlesource.com/316434
Commit-Ready: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
diff --git a/site_utils/suite_scheduler/task.py b/site_utils/suite_scheduler/task.py
index aaa74b1..013f2fb 100644
--- a/site_utils/suite_scheduler/task.py
+++ b/site_utils/suite_scheduler/task.py
@@ -126,7 +126,7 @@
Task. Each instance has enough info to schedule itself
on-demand with the AFE.
- This class also overrides __hash__() and all comparitor methods to enable
+ This class also overrides __hash__() and all comparator methods to enable
correct use in dicts, sets, etc.
"""
@@ -367,7 +367,7 @@
else:
self._bare_branches.append(spec)
- # Since we expect __hash__() and other comparitor methods to be used
+ # Since we expect __hash__() and other comparator methods to be used
# frequently by set operations, and they use str() a lot, pre-compute
# the string representation of this object.
if num is None: