From 05722dcc51a09084865736651e46326041dd6038 Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Tue, 3 Jul 2018 13:58:56 -0700 Subject: 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. --- mpm/python/usrp_mpm/periph_manager/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mpm/python/usrp_mpm/periph_manager/base.py') 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): """ -- cgit v1.2.3