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