| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/2987/usr/share/subiquity/subiquitycore/__pycache__/ |
Upload File : |
o
K��^�
� @ sf d dl mZ d dlZd dlZd dlmZ e�d�ZG dd� de�Z G dd� de�Z
G d d
� d
e�ZdS )� )�abstractmethodN)�BaseControllerzsubiquitycore.tuicontrollerc @ s e Zd ZdZdS )�Skipz?Raise this from a controller's make_ui method to skip a screen.N)�__name__�
__module__�__qualname__�__doc__� r r �3/usr/share/subiquity/subiquitycore/tuicontroller.pyr s r c s^ e Zd ZdZ� fdd�Zedd� �Zedd� �Zedd � �Z d
d� Z
dd
d�Zdd� Z� Z
S )�
TuiControllerzBase class for controllers.c s* t � �|� |j| _|j�| ji �| _d S �N)�super�__init__�ui�answers�get�name)�self�app�� __class__r r
r s zTuiController.__init__c C s d S r r �r r r r
�cancel$ s zTuiController.cancelc C s, | j jj}t|t�r|j}t|t�s
|| u S r )r �controllers�cur�
isinstance�RepeatedController�orig)r �instr r r
�showing( s
�zTuiController.showingc C � dS )z)Return the view for this controller's UI.Nr r r r r
�make_ui/ � zTuiController.make_uic C r )a Stop running this controller's UI.
This method doesn't actually need to remove this controller's UI
as the next one is about to replace it, it's more of a hook to
stop any background tasks that can be stopped when the UI is not
running.
Nr r r r r
�end_ui3 r"