/usr/lib/python3/dist-packages/__pycache__
Edit: /usr/lib/python3/dist-packages/__pycache__/debconf.cpython-310.pyc (5803B)
o
iSbq @ s d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZG dd deZ d\Z
ZZZ
G dd dZG dd d eeZd
ejv rKejd
dkrKdZnd
Zdd Zedkre e Zee
d e edZedZe eej eej ee ee dS dS ) )print_functionNc @ s e Zd ZdS )DebconfErrorN)__name__
__module____qualname__ r r )/usr/lib/python3/dist-packages/debconf.pyr " s r )lowmediumhighcriticalc @ sb e Zd ZdZdddZdd Zdd Zd
d Zdd
Zdd Z dd Z
dd Zdd Zdd Z
dS )DebconfaT A class that speaks the debconf protocol.
The simplest way to use this is as a context manager:
import debconf
with debconf.Debconf(run_frontend=True) as db:
print(db.get('debconf/frontend'))
Note that this will send the STOP command on exiting the context
manager, so you shouldn't expect to be able to use the same frontend
again after this. If you need to do that, then you should instantiate
the class directly instead:
import debconf
db = debconf.Debconf(run_frontend=True)
print(db.get('debconf/frontend'))
NFc C sP d D ]}| | q|ptj| _|ptj| _tjt_|r!t | | d S )Nzcapb set reset title input beginblock endblock go get register unregister subst fset fget previous_module visible purge metaget exist version settitle info progress data)
split
setCommandsysstdinreadstdoutwritestderrrunFrontEndsetUp)selftitler r run_frontendcommandr r r __init__<