Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /lib/fm-agent/countermeasures/plugins/ |
from glob import glob
from keyword import iskeyword
from os.path import dirname, join, split, splitext
basedir = dirname(__file__)
__all__ = []
for name in glob(join(basedir, "*.py")):
module = splitext(split(name)[-1])[0]
if not module.startswith("_") and not iskeyword(module):
try:
__import__(__name__ + "." + module)
except:
import logging
logger = logging.getLogger(__name__)
# logger.warning('Ignoring exception while loading the %r plug-in.', module)
else:
__all__.append(module)
__all__.sort()