diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-05-10 12:07:14 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:53 -0800 |
commit | 4efea95324b66477f877d65c2d9c6ce188850174 (patch) | |
tree | 5bd27de40dab19895445e8be0ed52cc601b237c4 /mpm/python/usrp_mpm/rpc_server.py | |
parent | 2270a6b1a670bfa8387004bafdfcf2e74fc90477 (diff) | |
download | uhd-4efea95324b66477f877d65c2d9c6ce188850174.tar.gz uhd-4efea95324b66477f877d65c2d9c6ce188850174.tar.bz2 uhd-4efea95324b66477f877d65c2d9c6ce188850174.zip |
mpm: Enabled mboard EEPROM readout
Diffstat (limited to 'mpm/python/usrp_mpm/rpc_server.py')
-rw-r--r-- | mpm/python/usrp_mpm/rpc_server.py | 3 |
1 files changed, 1 insertions, 2 deletions
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_<slot>_` 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) |