ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/lib/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/lib/modify_package_hook.py |
# -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2022 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT # from .helpers import hook_method __author__ = "Ilya Kartavtsev" class ModifyPackageHook: """ This hook provides bunch of events related to package manipulations """ HOOK_VERSION = 1 @hook_method def post_modify_package(self, name, new_name=None, **kwargs): pass