%PDF- %PDF-
Mini Shell

Mini Shell

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

�
i�B^c@`s�ddlmZddlmZddlmZddlZddlmZmZddlm	Z	ddl
mZmZm
Z
d	e	fd
��YZdS(i(tprint_function(tdivision(tabsolute_importN(tENABLED_STATUStDISABLED_STATUS(tBaseSelectorConfigi(t
CONFIG_DIRtcreate_config_dirstALT_NODE_PREFIXt
NodeConfigcB`sDeZdZejjed�Zd�Zd�Z	e
d��ZRS(s�
    It's responsible for all interaction with CL NodeJS selector config file
    and computing some effective values when config is absent or incomplete
    s
selector.jsoncC`s$tt|�j|�|j�dS(sB
        :param pkg_manager: instance of PkgManager class
        N(tsuperR	t__init__treload(tselftpkg_manager((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pyRscC`st�dS(s"Forward calls to external functionN(R(R
((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pyt_create_config_dirs%sc`s,|jjpg��fd�|jjD�S(sf
        Returns a dict with status of all installed alt-NodeJS versions
        :rtype: dict
        c`s=i|]3}i|�kr!tntd6t|d6|�qS(tstatustbase_dir(RRR(t.0tver(tdisabled(sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pys
<dictcomp>1s	(tCfgtdisabled_versionstpkgtinstalled_versions(R
((RsO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pytavailable_versions)s(t__name__t
__module__t__doc__tostpathtjoinRt_config_fileRRtpropertyR(((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pyR	s
		(t
__future__RRRRtclselect.baseclselectRRtclselect.baseclselect.configRtRRRR	(((sO/opt/alt/python27/lib/python2.7/site-packages/clselect/clselectnodejs/config.pyt<module>	s

Zerion Mini Shell 1.0