chore: Remove the unused decorated function in MuxRPCAPI.define

This commit is contained in:
Gergely Polonkai 2023-11-02 09:01:01 +01:00
parent 8f5d355ea0
commit e0cd456e77
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -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