diff options
author | Andrej Rode <andrej.rode@ettus.com> | 2017-03-27 18:03:52 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:45 -0800 |
commit | 6a12add1560545438e1bebc05efbafd05aace4f9 (patch) | |
tree | c94dbbbd4da0c7ef41fc8849f174875a13f0b511 /mpm/python/usrp_mpm/dboard_manager/base.py | |
parent | ba4fad345d7489b40a7dab83842ac21d13c4f460 (diff) | |
download | uhd-6a12add1560545438e1bebc05efbafd05aace4f9.tar.gz uhd-6a12add1560545438e1bebc05efbafd05aace4f9.tar.bz2 uhd-6a12add1560545438e1bebc05efbafd05aace4f9.zip |
mpm: mpm reorganization
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/base.py')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/base.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py index 257a2424d..37e7dd2b8 100644 --- a/mpm/python/usrp_mpm/dboard_manager/base.py +++ b/mpm/python/usrp_mpm/dboard_manager/base.py @@ -17,22 +17,22 @@ """ dboard base implementation module """ -from . import lib import logging import struct -log = logging.Logger("usrp_mpm.dboards") +LOG = logging.Logger(__name__) -class dboard_manager(object): +class DboardManagerBase(object): """ Holds shared pointer to wrapped C++ implementation. Sanitizes arguments before calling C++ functions. Ties various constants to specific daughterboard class """ _eeprom = {} - def __init__(self, eeprom={}): - self._eeprom = eeprom + + def __init__(self, eeprom=None): + self._eeprom = eeprom or {} def get_serial(self): return self._eeprom.get("serial", "") |