Beispiel #1
0
    def __init__(self, data, storage, payload, instclass, mount_data):
        NormalTUISpoke.__init__(self, data, storage, payload, instclass)
        self._container = None
        self._mount_data = mount_data
        self.title = N_("Configure device: %s") % mount_data.device

        self._supported_filesystems = [fmt.type for fmt in get_supported_filesystems()]
Beispiel #2
0
    def __init__(self, data, storage, payload, instclass, device, mount_data):
        super().__init__(data, storage, payload, instclass)
        self.title = N_("Configure device: %s") % mount_data[MOUNT_POINT_DEVICE]
        self._container = None

        self._supported_filesystems = [fmt.type for fmt in get_supported_filesystems()]
        self._mount_data = mount_data
        self._device = device