From 94f166e2d01a871415c948e594c4928178ca80b6 Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Wed, 13 Jul 2022 16:36:14 -0700 Subject: [PATCH] None check syntax fix --- compiler/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/globals.py b/compiler/globals.py index a552163b..206d72a0 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -378,7 +378,7 @@ def read_config(config_file, is_unit_test=True): OPTS.tech_name) # If write size is not defined, set it equal to word size - if OPTS.write_size == None: + if OPTS.write_size is None: OPTS.write_size = OPTS.word_size