PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
im360
/
migrations
/
__pycache__
� ��i� � �R � d dl Z d dlZd dlmZ e j e� � Zdd�Zdd�ZdS )� N)�cPanelFc �� � |rd S t j � � sd S t j g d�� � d S # t $ r3}t � dt |� � � � Y d }~d S d }~ww xY w)N)�whmapi1�(set_application_contact_event_importancezapp=Imunifyz event=IELimitzimportance=Highz'Failed to set imporance for IELimit: %s)r �is_installed� subprocess�run� Exception�logger�warning�str)�migrator�database�fake�kwargs�es �f/opt/imunify360/venv/lib/python3.11/site-packages/im360/migrations/001_whmapi1_set_importance_im360.py�migrater s� � �� ����� � � ���J��� � � � � � � � �� � J� J� J����@�#�a�&�&�I�I�I�I�I�I�I�I�I�����J���s �3 � A0�(A+�+A0c � � d S )N� )r r r r s r �rollbackr s � ��D� )F) �loggingr �$defence360agent.subsys.panels.cpanelr � getLogger�__name__r r r r r r �<module>r st �� ���� � � � � 7� 7� 7� 7� 7� 7� �� �8� $� $��J� J� J� J�( � � � � � r
[-] 006_remove_waf_configurator_cron.cpython-311.opt-1.pyc
[edit]
[-] 004_ips_as_packed_network.cpython-311.opt-1.pyc
[edit]
[-] __init__.cpython-311.pyc
[edit]
[-] 001_whmapi1_set_importance_im360.cpython-311.pyc
[edit]
[-] 000_noop_migration.cpython-311.pyc
[edit]
[-] 000_noop_migration.cpython-311.opt-1.pyc
[edit]
[-] 007_add_mask_to_ip_ingnored_port.cpython-311.opt-1.pyc
[edit]
[-] 002_move_resident_tables_into_separate_db.cpython-311.pyc
[edit]
[-] 008_index_for_iplistrecord_iplist_id.cpython-311.opt-1.pyc
[edit]
[-] 005_ip_network_v6_fix.cpython-311.pyc
[edit]
[-] 005_ip_network_v6_fix.cpython-311.opt-1.pyc
[edit]
[-] 006_remove_waf_configurator_cron.cpython-311.pyc
[edit]
[-] 004_ips_as_packed_network.cpython-311.pyc
[edit]
[-] 001_whmapi1_set_importance_im360.cpython-311.opt-1.pyc
[edit]
[-] 003_move_remote_ipsetlist_tables_into_separate_db.cpython-311.opt-1.pyc
[edit]
[-] 008_index_for_iplistrecord_iplist_id.cpython-311.pyc
[edit]
[-] __init__.cpython-311.opt-1.pyc
[edit]
[-] 003_move_remote_ipsetlist_tables_into_separate_db.cpython-311.pyc
[edit]
[-] 002_move_resident_tables_into_separate_db.cpython-311.opt-1.pyc
[edit]
[+]
..
[-] 007_add_mask_to_ip_ingnored_port.cpython-311.pyc
[edit]