Browse Source

chore: change `== None` to `is None` (#25202)

According to LGTM, this change will improve code efficiency.
https://lgtm.com/rules/7900090/
overkill 4 years ago
parent
commit
633e5d8503
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/verify-chromedriver.py

+ 1 - 1
script/verify-chromedriver.py

@@ -35,7 +35,7 @@ def main():
   match = re.search(
     '^Starting ChromeDriver [0-9]+.[0-9]+.[0-9]+.[0-9]+ .* on port [0-9]+$', output)
 
-  if match == None:
+  if match is None:
     returncode = 1
 
   if returncode == 0: