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_gdb.py b/scripts/cros_gdb.py
index ccfca99..a7f899d 100644
--- a/scripts/cros_gdb.py
+++ b/scripts/cros_gdb.py
@@ -422,7 +422,7 @@
)
non_main_chrome_pids = set(device.GetRunningPids("type="))
pids = list(all_chrome_pids - non_main_chrome_pids)
- elif pname == "renderer" or pname == "gpu-process":
+ elif pname in ("renderer", "gpu-process"):
pids = device.GetRunningPids("type=%s" % pname)
else:
pids = device.GetRunningPids(pname)