diff --git a/tools/genv8constants.py b/tools/genv8constants.py index 8ab2ed8bae50c0..cb648d39ce7a18 100755 --- a/tools/genv8constants.py +++ b/tools/genv8constants.py @@ -95,7 +95,7 @@ def out_define(): curr_octet += 1 match = pattern.match(line) - if match == None: + if match is None: continue # Print previous symbol