diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-02 19:02:32 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:59 -0800 |
commit | 797b61a3fbc3092fbd37e9a31fe1986fccdb7899 (patch) | |
tree | 678802bed3fb5598d2fe7ce51a9d78897d199aaa /mpm | |
parent | 33f6435e4b4169b2aec74b91501a492a6fd93c60 (diff) | |
download | uhd-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.py | 1 |
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) |