From: Jacob Lifshay Date: Wed, 8 Dec 2021 01:51:14 +0000 (-0800) Subject: account for Mock absurdities X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afaa99de548d2b83378e11fc969c9241dc104f57;p=soc.git account for Mock absurdities --- diff --git a/src/soc/fu/pipe_data.py b/src/soc/fu/pipe_data.py index 40220a1c..ec6d240c 100644 --- a/src/soc/fu/pipe_data.py +++ b/src/soc/fu/pipe_data.py @@ -85,4 +85,5 @@ class CommonPipeSpec: def get_pspec_draft_bitmanip(pspec): - return getattr(pspec, "draft_bitmanip", False) + # use `is True` to account for Mock absurdities + return getattr(pspec, "draft_bitmanip", False) is True