U]j d Z ddlZddlZddlmZ ddlmZ ddlmZ dZ da da G d d ed g d Zd Z d Zd ZdS )z8 Wrapper over integration config which provides typing. N)ConfigParser) namedtuple)NotImplementedByVendorz!/opt/cpvendor/etc/integration.inic " e Zd ZdZ fdZ xZS ) ScriptsCMDzg Wrapper over namedtuple that raises exception when we access property that has None value c l t | }|t | |S )za Raise error if command is not implemented, but we try to get it in code )super__getattribute__r )selfitemobj __class__s /builddir/build/BUILDROOT/alt-python27-cllib-3.4.36-1.el9.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/vendors_api/config.pyr zScriptsCMD.__getattribute__( s4 gg&&t,,;(... )__name__ __module____qualname____doc__r __classcell__)r s @r r r sB r r VendorScriptsPath panel_infodb_infopackagesusersdomains resellersadminsphpc L | dS t t j | S )zm Taking command line as input, convert it into subprocess args If cmd is None -> return None N)tupleshlexsplit)cmds r _split_path_or_noner% 3 s&