chore: Remove the unused decorated function in MuxRPCAPI.define
This commit is contained in:
parent
8f5d355ea0
commit
e0cd456e77
@ -20,8 +20,6 @@
|
|||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
from functools import wraps
|
|
||||||
|
|
||||||
from async_generator import async_generator, yield_
|
from async_generator import async_generator, yield_
|
||||||
|
|
||||||
from ssb.packet_stream import PSMessageType
|
from ssb.packet_stream import PSMessageType
|
||||||
@ -137,10 +135,6 @@ class MuxRPCAPI(object):
|
|||||||
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