Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python27
/
lib
/
python2.7
/
site-packages
/
clselect
/
clselectpython
/
File Content:
config.pyc
� i�B^c @` s� d d l m Z d d l m Z d d l m Z d d l Z d d l m Z m Z d d l m Z d d l m Z m Z m Z d d l m Z d e f d � � YZ d S( i ( t print_function( t division( t absolute_importN( t DISABLED_STATUSt ENABLED_STATUS( t BaseSelectorConfigi ( t CONFIG_DIRt create_config_dirst ALT_PYTHON_PREFIX( t get_ui_configt PythonConfigc B` sM e Z d Z e j j e d � Z d � Z d � Z e d � � Z d � 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.jsonc C` s. t t | � j | � | j � | j � d S( sB :param pkg_manager: instance of PkgManager class N( t superR t __init__t reloadt set_initial_selector_status( t selft pkg_manager( ( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyR s c C` s t � S( N( R ( R ( ( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyt _create_config_dirs( s c ` s, | j j p g � � f d � | j j D� S( sf Returns a dict with status of all installed alt-python versions :rtype: dict c ` sS i | ]I } i | � k r! t n t d 6t d j | j d � d � d 6| � q S( t statust t .i t base_dir( R R R t joint split( t .0t ver( t disabled( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pys <dictcomp>3 s ( t Cfgt disabled_versionst pkgt installed_versions( R ( ( R sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyt available_versions+ s c C` sa | j j d k r d Sy t � } | d d } Wn t k rF d SX| | j _ | j � d S( s� Sets python selector flag selector_enabled from old selector flag hidePythonApp if it is still not set Nt uiSettingst hidePythonApp( R t selector_enabledt NoneR t KeyErrort save( R t old_configt old_selector_status( ( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyR : s ( t __name__t __module__t __doc__t ost pathR R t _config_fileR R t propertyR R ( ( ( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyR s ( t __future__R R R R+ t clselect.baseclselectR R t clselect.baseclselect.configR R R R R t clconfig.ui_config_libR R ( ( ( sO /opt/alt/python27/lib/python2.7/site-packages/clselect/clselectpython/config.pyt <module> s
Submit
FILE
FOLDER
Name
Size
Permission
Action
__init__.pyc
2806 bytes
0644
apps_manager.pyc
18310 bytes
0644
config.pyc
3112 bytes
0644
pkgmanager.pyc
5027 bytes
0644
python_manager.pyc
1191 bytes
0644
N4ST4R_ID | Naxtarrr