Edit File: post_modify_package.cpython-37.pyc
B �eQ � @ s� d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z e dkr�e � eje d �Zej d d�Ze�d�Zejd ddd� ejdddd� e�� Ze� Zejdkr�ejejejd� ne�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__)Zdescription�command)�dest�renamez--nameTzName of the package)Zrequired�helpz --new-nameFzPackage after rename)�new_name)�__doc__Z __future__r r r �argparseZclcommon.public_hooks.libr Zclcommon.public_hooksr �__name__�ArgumentParser�parserZadd_subparsersZ subparsersZ add_parserr �add_argument� parse_args�argsZlistenerr Zpost_modify_package�namer �NotImplementedError� r r ��/builddir/build/BUILDROOT/alt-python27-cllib-3.3.5-1.el8.cloudlinux.x86_64/opt/alt/python37/lib/python3.7/site-packages/clcommon/public_hooks/bin/post_modify_package.py�<module> s,