Edit File: post_modify_admin.cpython-37.pyc
B �e� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z e dkr�e � eje d �Zej d d�Ze�d�Zejd dddd� e�d�Zejd dddd� e�� Ze� Zejdkr�e�ej� nejdkr�e�ej� ne�dS )z� Admin account POST modification hook. This script must be called AFTER different admin-related changes in control panel. See --help and docs for detailed description of actions and parameters. � )�absolute_import)�division)�print_functionN)�ModifyAdminHook)�setup_logger_and_sentry�__main__)Zdescription�command)�dest�createz--namez-nTz#Name of newly created admin account)Zrequired�help�deletezName of deleted admin account)�__doc__Z __future__r r r �argparseZclcommon.public_hooks.libr Zclcommon.public_hooksr �__name__�ArgumentParser�parserZadd_subparsersZ subparsersZ add_parserr �add_argumentr � parse_args�argsZlistenerr Zpost_create_admin�nameZpost_delete_admin�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_admin.py�<module> s.