chore: Remove the unused decorated function in MuxRPCAPI.define
This commit is contained in:
parent
ebcc94516c
commit
740762b149
@ -1,7 +1,5 @@
|
|||||||
"""MuxRPC"""
|
"""MuxRPC"""
|
||||||
|
|
||||||
from functools import wraps
|
|
||||||
|
|
||||||
from ssb.packet_stream import PSMessageType
|
from ssb.packet_stream import PSMessageType
|
||||||
|
|
||||||
|
|
||||||
@ -157,10 +155,6 @@ class MuxRPCAPI:
|
|||||||
def _handle(f):
|
def _handle(f):
|
||||||
self.handlers[name] = f
|
self.handlers[name] = f
|
||||||
|
|
||||||
@wraps(f)
|
|
||||||
def _f(*args, **kwargs):
|
|
||||||
return f(*args, **kwargs)
|
|
||||||
|
|
||||||
return f
|
return f
|
||||||
|
|
||||||
return _handle
|
return _handle
|
||||||
|
Loading…
Reference in New Issue
Block a user