Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 À<×eQ ã@sJddlmZmZddlmZddlZdZdZdZdZ dZ Gd d „d ƒZ dS) é)Ú ConfigParserÚError)ÚTunedExceptionNz power-saverZ performanceÚmainZprofilesÚdefaultc@s@eZdZdd„Zedd„ƒZedd„ƒZedd„ƒZd d „Zd S) Ú PPDConfigcCs|j|ƒdS)N)Úload_from_file)ÚselfÚ config_file©r ú/usr/lib/python3.6/config.pyÚ__init__szPPDConfig.__init__cCs|jS)N)Ú_default_profile)r r r r Údefault_profileszPPDConfig.default_profilecCs|jS)N)Ú _ppd_to_tuned)r r r r Ú ppd_to_tunedszPPDConfig.ppd_to_tunedcCs|jS)N)Ú _tuned_to_ppd)r r r r Ú tuned_to_ppdszPPDConfig.tuned_to_ppdc CsRtƒ}tjj|ƒstd|ƒ‚y|j|ƒWn tk rLtd|ƒ‚YnXt|krbtd|ƒ‚t|tƒ|_ t dd„|j j ƒDƒƒs”td|ƒ‚t t |j j ƒƒƒt |j ƒkr¼td|ƒ‚dd „|j jƒDƒ|_t|j krètd |ƒ‚t|j k�rtd |ƒ‚t|k�st|tk�r$td |ƒ‚|tt|_|j|j k�rNtd |jƒ‚dS)Nz&Configuration file '%s' does not existz)Error parsing the configuration file '%s'z7Missing profiles section in the configuration file '%s'css|]}t|tƒVqdS)N)Ú isinstanceÚstr)Ú.0Zmapped_profiler r r ú +sz+PPDConfig.load_from_file..z6Invalid profile mapping in the configuration file '%s'z8Duplicate profile mapping in the configuration file '%s'cSsi|]\}}||“qSr r )rÚkÚvr r r ú 0sz,PPDConfig.load_from_file..z:Missing power-saver profile in the configuration file '%s'z:Missing performance profile in the configuration file '%s'z6Missing default profile in the configuration file '%s'zUnknown default profile '%s')rÚosÚpathÚisfilerÚreadrÚPROFILES_SECTIONÚdictrÚallÚvaluesÚlenÚsetÚitemsrÚPPD_POWER_SAVERÚPPD_PERFORMANCEÚ MAIN_SECTIONÚDEFAULT_PROFILE_OPTIONr)r r Zcfgr r r rs0          zPPDConfig.load_from_fileN) Ú__name__Ú __module__Ú __qualname__r Úpropertyrrrrr r r r r s    r) Ztuned.utils.config_parserrrZtuned.exceptionsrrr&r'r(rr)rr r r r Ús