From bc793ec3d8000dd89dba61ba765a454925b55491 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 25 May 2021 13:22:33 -0700 Subject: [PATCH] PEP8 --- compiler/globals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/globals.py b/compiler/globals.py index f5710b63..1b272b98 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -613,8 +613,8 @@ def report_status(): # If write size is more than half of the word size, # then it doesn't need a write mask. It would be writing # the whole word. - if (OPTS.write_size < 1 or OPTS.write_size > OPTS.word_size/2): - debug.error("Write size needs to be between 1 bit and {0} bits.".format(OPTS.word_size/2)) + if (OPTS.write_size < 1 or OPTS.write_size > OPTS.word_size / 2): + debug.error("Write size needs to be between 1 bit and {0} bits.".format(int(OPTS.word_size / 2))) if not OPTS.tech_name: debug.error("Tech name must be specified in config file.")