관리-도구
편집 파일: __init__.cpython-311.pyc
� %�4g� � �� � d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlZd dlm Z dZ dZd� e� � Z d Z G d � de � � Z G d� d e� � Zd� Zd� Zd� ZdS )� )�print_function)�division)�absolute_importN)�BaseSelectorErrorz"/usr/share/l.v.e-manager/cl.nodejsz alt-nodejsz/opt/alt/{}z"/root/usr/share/node/node-version-c � � e Zd ZdZdS )�NodeJSErrorz9Top level error class for admin's part of NodeJS selectorN��__name__� __module__�__qualname__�__doc__� � �W/opt/cloudlinux/venv/lib64/python3.11/site-packages/clselect/clselectnodejs/__init__.pyr r s � � � � � �C�C��Dr r c � � e Zd ZdZdS )�NodeJSConfigErrorz"Generic error class for NodeConfigNr r r r r r ! s � � � � � �,�,��Dr r c �b � t | t � � sdS t j d| � � sdS dS )z>Return True if specified MAJOR version is valid for processingFz ^[1-9][0-9]*$T)� isinstance�str�re�match)�vers r �is_major_versionr &