From 797b61a3fbc3092fbd37e9a31fe1986fccdb7899 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 2 Jun 2017 19:02:32 -0700 Subject: mpm: RPC servers own methods can no longer be overwritten --- mpm/python/usrp_mpm/rpc_server.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mpm/python/usrp_mpm') diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index 4fbaa248f..43843cff5 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -92,6 +92,7 @@ class MPMServer(RPCServer): m for m in dir(component) if not m.startswith('_') \ and callable(getattr(component, m)) \ + and not hasattr(self, m) \ and not getattr(getattr(component, m), '_norpc', False) ): new_rpc_method = getattr(component, method_name) -- cgit v1.2.3