From: whitequark Date: Sat, 26 Jan 2019 23:08:55 +0000 (+0000) Subject: compat.fhdl.module: fix typo. X-Git-Tag: working~33 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e844b0e0958de57faf6e436746f38a7e38c65a58;p=nmigen.git compat.fhdl.module: fix typo. --- 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")