Lint fixes: consider-using-in.
Fix consider-using-in lint errors.
BUG=None
TEST=CQ
Change-Id: I1a8bbeace4ce34b11e13e86c962653cf51fa3155
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4435351
Auto-Submit: Alex Klein <saklein@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
diff --git a/scripts/cros_setup_toolchains.py b/scripts/cros_setup_toolchains.py
index d49bdf1..3ebe41d 100644
--- a/scripts/cros_setup_toolchains.py
+++ b/scripts/cros_setup_toolchains.py
@@ -707,7 +707,7 @@
# Do not reconfig when the current is live or nothing needs to be
# done.
extra_env = {"ROOT": root} if root != "/" else None
- if current != desired and current != "9999":
+ if current not in (desired, "9999"):
cmd = [package + "-config", desired]
cros_build_lib.run(cmd, print_cmd=False, extra_env=extra_env)