compat.fifo: fix _FIFOInterface deprecation wrapper.
This commit is contained in:
parent
f44ca291c1
commit
2fb85a6170
|
@ -6,8 +6,8 @@ from ...lib.fifo import FIFOInterface as NativeFIFOInterface, \
|
|||
__all__ = ["_FIFOInterface", "SyncFIFO", "SyncFIFOBuffered", "AsyncFIFO", "AsyncFIFOBuffered"]
|
||||
|
||||
|
||||
@deprecated("attribute `fwft` must be provided to FIFOInterface constructor")
|
||||
class CompatFIFOInterface(NativeFIFOInterface):
|
||||
@deprecated("attribute `fwft` must be provided to FIFOInterface constructor")
|
||||
def __init__(self, width, depth):
|
||||
super().__init__(width, depth, fwft=False)
|
||||
del self.fwft
|
||||
|
|
Loading…
Reference in a new issue