From 4efea95324b66477f877d65c2d9c6ce188850174 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 10 May 2017 12:07:14 -0700 Subject: mpm: Enabled mboard EEPROM readout --- mpm/python/usrp_mpm/rpc_server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 ab9d017e7..6607aa082 100644 --- a/mpm/python/usrp_mpm/rpc_server.py +++ b/mpm/python/usrp_mpm/rpc_server.py @@ -27,7 +27,6 @@ from gevent import monkey monkey.patch_all() from mprpc import RPCServer from random import choice -from six import iteritems from string import ascii_letters, digits from multiprocessing import Process from .mpmlog import get_main_logger @@ -51,7 +50,7 @@ class MPMServer(RPCServer): # add public mboard methods without namespace self._update_component_commands(mgr, '', '_mb_methods') # add public dboard methods in `db__` namespace - for db_slot, dboard in iteritems(mgr.dboards): + for db_slot, dboard in enumerate(mgr.dboards): self._update_component_commands(dboard, 'db_' + str(db_slot) + '_', '_db_methods') super(MPMServer, self).__init__(*args, **kwargs) -- cgit v1.2.3