aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-06-02 19:02:32 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:59 -0800
commit797b61a3fbc3092fbd37e9a31fe1986fccdb7899 (patch)
tree678802bed3fb5598d2fe7ce51a9d78897d199aaa /mpm
parent33f6435e4b4169b2aec74b91501a492a6fd93c60 (diff)
downloaduhd-797b61a3fbc3092fbd37e9a31fe1986fccdb7899.tar.gz
uhd-797b61a3fbc3092fbd37e9a31fe1986fccdb7899.tar.bz2
uhd-797b61a3fbc3092fbd37e9a31fe1986fccdb7899.zip
mpm: RPC servers own methods can no longer be overwritten
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py1
1 files changed, 1 insertions, 0 deletions
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)