Edit File: post_modify_package.cpython-311.pyc
� �eQ � �� � d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z e dk r� e � � ej e � � � Ze� d �� � Ze� d� � Ze� d dd�� � e� ddd�� � e� � � Z e� � Zej dk r#e� ej ej �� � dS e�dS )z� Package POST modification hook. This script must be called AFTER different package-related changes in control panel. See --help and docs for detailed description of actions and parameters. � )�absolute_import)�division)�print_functionN)�ModifyPackageHook)�setup_logger_and_sentry�__main__)�description�command)�dest�renamez--nameTzName of the package)�required�helpz --new-nameFzPackage after rename)�new_name)�__doc__� __future__r r r �argparse�clcommon.public_hooks.libr �clcommon.public_hooksr �__name__�ArgumentParser�parser�add_subparsers� subparsers� add_parserr �add_argument� parse_args�args�listenerr �post_modify_package�namer �NotImplementedError� � ��/builddir/build/BUILDROOT/alt-python27-cllib-3.3.5-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/post_modify_package.py�<module>r% s� ��� � '� &� &� &� &� &� � � � � � � %� %� %� %� %� %� ���� 7� 7� 7� 7� 7� 7� 9� 9� 9� 9� 9� 9� �z�������� $�X� $�� 9� 9� 9�F��&�&�I�&�6�6�J� � "� "�8� ,� ,�F� ����4�2� � 4� 4� 4� ����u�3� � 5� 5� 5� �����D� � �"�"�H��|�x����$�$��I��]� %� � � � � � "�!�) �r#