%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/227033/root/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/
Upload File :
Create Path :
Current File : //proc/227033/root/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyc

�
i�B^c@`s�ddlmZddlmZddlmZddlZddlmZmZddlm	Z	ddl
mZmZm
Z
dd	lmZd
e	fd��YZdS(i(tprint_function(tdivision(tabsolute_importN(tDISABLED_STATUStENABLED_STATUS(tBaseSelectorConfigi(t
CONFIG_DIRtcreate_config_dirstALT_PYTHON_PREFIX(t
get_ui_configtPythonConfigcB`sMeZdZejjed�Zd�Zd�Z	e
d��Zd�ZRS(s�
    It's responsible for all interaction with CL Python selector config file
    and computing some effective values when config is absent or incomplete
    s
selector.jsoncC`s.tt|�j|�|j�|j�dS(sB
        :param pkg_manager: instance of PkgManager class
        N(tsuperR
t__init__treloadtset_initial_selector_status(tselftpkg_manager((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyRs
cC`st�S(N(R(R((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyt_create_config_dirs(sc`s,|jjpg��fd�|jjD�S(sf
        Returns a dict with status of all installed alt-python versions
        :rtype: dict
        c`sSi|]I}i|�kr!tntd6tdj|jd�d �d6|�qS(tstatustt.itbase_dir(RRRtjointsplit(t.0tver(tdisabled(sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pys
<dictcomp>3s	(tCfgtdisabled_versionstpkgtinstalled_versions(R((RsO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pytavailable_versions+scC`sa|jjdk	rdSyt�}|dd}Wntk
rFdSX||j_|j�dS(s�
        Sets python selector flag selector_enabled from old selector flag hidePythonApp
        if it is still not set
        Nt
uiSettingst
hidePythonApp(Rtselector_enabledtNoneR	tKeyErrortsave(Rt
old_configtold_selector_status((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyR:s	
(
t__name__t
__module__t__doc__tostpathRRt_config_fileRRtpropertyRR(((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyR
s			(t
__future__RRRR+tclselect.baseclselectRRtclselect.baseclselect.configRRRRRtclconfig.ui_config_libR	R
(((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyt<module>s

Zerion Mini Shell 1.0