gen/fhdl/verilog: Make DummyAttrTranslate a dict.
This commit is contained in:
parent
bf52c1083f
commit
b2f8fa5464
|
@ -369,7 +369,7 @@ def _printspecials(overrides, specials, ns, add_data_file, attr_translate):
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
||||||
class DummyAttrTranslate:
|
class DummyAttrTranslate(dict):
|
||||||
def __getitem__(self, k):
|
def __getitem__(self, k):
|
||||||
return (k, "true")
|
return (k, "true")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue