관리-도구
편집 파일: pre_modify_user.cpython-311.pyc
� \�Dg� � � � d Z ddlZddlmZ ddlmZ edk r� e� � ej e �� � Ze� d�� � Z e � d d �� � Ze� dd dd�� � e� � � Z e� � Zej d k 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. � N)�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__�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/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/pre_modify_user.py�<module>r s6 ��� � ���� 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