From e844b0e0958de57faf6e436746f38a7e38c65a58 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 26 Jan 2019 23:08:55 +0000 Subject: [PATCH] compat.fhdl.module: fix typo. --- nmigen/compat/fhdl/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen/compat/fhdl/module.py b/nmigen/compat/fhdl/module.py index dca892e..e81f2b6 100644 --- a/nmigen/compat/fhdl/module.py +++ b/nmigen/compat/fhdl/module.py @@ -54,7 +54,7 @@ class _CompatModuleSync(_CompatModuleProxy): return _CompatModuleSyncCD(self._cm, name) def __setattr__(self, name, value): - if not isinstance(value, _ModuleSyncCD): + if not isinstance(value, _CompatModuleSyncCD): raise AttributeError("Attempted to assign sync property - use += instead") -- 2.30.2