diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-01-15 15:42:15 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-02-08 22:18:14 +0100 |
commit | 832cbe095ae5e851aadddce66e1510d33a4430f3 (patch) | |
tree | 72ce19679463547f074dea956249ad8d78cdc650 /mpm/python/usrp_mpm/rpc_server.py | |
parent | 44533fb035d4e9629d62f79a95ea9eb0487dcfef (diff) | |
download | uhd-832cbe095ae5e851aadddce66e1510d33a4430f3.tar.gz uhd-832cbe095ae5e851aadddce66e1510d33a4430f3.tar.bz2 uhd-832cbe095ae5e851aadddce66e1510d33a4430f3.zip |
mpm: Use prefs API for periph manager
- Allow to set default args via config file
- Read them from prefs API
- override-db-pids uses the same APIs now ([overrides] section in
config file, prefs API, and same dictionary as --default-args when
used on the command line
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py index 062396082..abb3b4327 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -63,7 +63,7 @@ class MPMServer(RPCServer): # Setting this to True will disable an unclaim on timeout. Use with # care, and make sure to set it to False again when finished. self._disable_timeouts = False - self._timeout_interval = float(default_args.default_args.get( + self._timeout_interval = float(default_args.get( "rpc_timeout_interval", TIMEOUT_INTERVAL )) |