diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2018-07-03 13:58:56 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-11 12:42:45 -0700 |
commit | 05722dcc51a09084865736651e46326041dd6038 (patch) | |
tree | 75730f1966144b07ae4784b625723853e3de8bbc /mpm/python/usrp_mpm/periph_manager/base.py | |
parent | b39358f490a24ffe4b8b29227736b8d2eb40b956 (diff) | |
download | uhd-05722dcc51a09084865736651e46326041dd6038.tar.gz uhd-05722dcc51a09084865736651e46326041dd6038.tar.bz2 uhd-05722dcc51a09084865736651e46326041dd6038.zip |
mpm: n3xx: Factor out component updating
- Refactoring component (FPGA, DTS) updating functions out of
n3xx.py into their own components.py. The ZynqComponent class now
defines the methods to update these two components.
- Adding super().__init__() to the PeriphManagerBase class. This is
needed to get the multiple inheritance used in N3XX now to work, and
(apparently) good Python practice.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/base.py')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index f920c9387..5eedb27e7 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -1,5 +1,5 @@ # -# Copyright 2017 Ettus Research, a National Instruments Company +# Copyright 2017-2018 Ettus Research, a National Instruments Company # # SPDX-License-Identifier: GPL-3.0-or-later # @@ -205,6 +205,7 @@ class PeriphManagerBase(object): self.log.error("Failed to initialize device: %s", str(ex)) self._device_initialized = False self._initialization_status = str(ex) + super(PeriphManagerBase, self).__init__() def _read_mboard_eeprom(self): """ |