aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/rpc_server.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-02 14:31:48 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:52 -0800
commit1b27c16dd3d723de2eaeec2e05854cabaebd4a76 (patch)
tree28462faed227997377f7f5d169d52243c95584fa /mpm/python/usrp_mpm/rpc_server.py
parentca3a8407561cef5e86bc128990604eafc828871e (diff)
downloaduhd-1b27c16dd3d723de2eaeec2e05854cabaebd4a76.tar.gz
uhd-1b27c16dd3d723de2eaeec2e05854cabaebd4a76.tar.bz2
uhd-1b27c16dd3d723de2eaeec2e05854cabaebd4a76.zip
mpm: Updating ref clock frequency will propagate to dboard, changed slot indexing to numbers
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py2
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 734dc1df7..ab9d017e7 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -52,7 +52,7 @@ class MPMServer(RPCServer):
self._update_component_commands(mgr, '', '_mb_methods')
# add public dboard methods in `db_<slot>_` namespace
for db_slot, dboard in iteritems(mgr.dboards):
- self._update_component_commands(dboard, 'db_' + db_slot + '_', '_db_methods')
+ self._update_component_commands(dboard, 'db_' + str(db_slot) + '_', '_db_methods')
super(MPMServer, self).__init__(*args, **kwargs)
def _update_component_commands(self, component, namespace, storage):