def __init__(self, logger=None): if logger is None: logger = Logger('mbed-flasher') logger = logger.logger self.logger = logger self._flashers = self.__get_flashers() self.supported_targets = self.__update_supported_targets()
def __init__(self): logger = Logger('mbed-flasher') self.logger = logger.logger self._flashers = self.__get_flashers()