From 1b27c16dd3d723de2eaeec2e05854cabaebd4a76 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 2 May 2017 14:31:48 -0700 Subject: mpm: Updating ref clock frequency will propagate to dboard, changed slot indexing to numbers --- mpm/python/usrp_mpm/rpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/rpc_server.py') 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__` 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): -- cgit v1.2.3