Edit File: pre_modify_user.cpython-311.pyc
� �e � � � d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z e dk r� e � � ej e � � � Ze� d �� � Ze� dd �� � Ze� dddd�� � e� � � Z e� � Zej dk re� ej �� � dS e�dS )z� User PRE modification hook. This script must be called BEFORE different user-related changes in control panel. See --help and docs for detailed description of actions and parameters. � )�absolute_import)�division)�print_functionN)�ModifyUserHook)�setup_logger_and_sentry�__main__)�description�command)�dest�deletez.call this command before user has been deleted)�helpz --usernamez-uTzName of a deleted account)�requiredr )�username)�__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 �pre_delete_userr �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/pre_modify_user.py�<module>r$ sl ��� � '� &� &� &� &� &� � � � � � � %� %� %� %� %� %� ���� 4� 4� 4� 4� 4� 4� 9� 9� 9� 9� 9� 9� �z�������� $�X� $�� 9� 9� 9�F��&�&�I�&�6�6�J� � "� "��G� #� I� I�F� ����d�T�8� � :� :� :� �����D��~���H��|�x���� � ��]� !� $� $� $� $� $� "�!�% �r"