Файловый менеджер - Редактировать - /home/skymarketplace/public_html/uploads/const.py.tar
Назад
opt/cloudlinux/venv/lib/python3.11/site-packages/astroid/const.py 0000644 00000002107 15004364416 0020774 0 ustar 00 # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt import enum import sys from pathlib import Path PY38 = sys.version_info[:2] == (3, 8) PY38_PLUS = sys.version_info >= (3, 8) PY39_PLUS = sys.version_info >= (3, 9) PY310_PLUS = sys.version_info >= (3, 10) PY311_PLUS = sys.version_info >= (3, 11) BUILTINS = "builtins" # TODO Remove in 2.8 WIN32 = sys.platform == "win32" IS_PYPY = sys.implementation.name == "pypy" IS_JYTHON = sys.implementation.name == "jython" # pylint: disable-next=no-member PYPY_7_3_11_PLUS = IS_PYPY and sys.pypy_version_info >= (7, 3, 11) # type: ignore[attr-defined] class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load Store = Context.Store Del = Context.Del ASTROID_INSTALL_DIRECTORY = Path(__file__).parent BRAIN_MODULES_DIRECTORY = ASTROID_INSTALL_DIRECTORY / "brain" _EMPTY_OBJECT_MARKER = object() opt/cloudlinux/venv/lib/python3.11/site-packages/wmt/common/const.py 0000644 00000002071 15004412225 0021416 0 ustar 00 #!/opt/cloudlinux/venv/bin/python3 import os BASE_DIR = '/etc/wmt' CONFIG_PATH = os.path.join(BASE_DIR, 'config.json') WMT_DB = '/var/lve/wmt.db' LICENSE_EXPIRED_FAREWELL_LETTER_MARKER = '/var/lve/wmt/wmt_farewell_letter.done' LICENSE_CHECK_PAUSE = 300 # sec JWT_TOKEN = '/etc/sysconfig/rhn/jwt.token' WMT_LOCK_FILE = '/var/run/wmt_scanner.lock' RETENTION_TIME_DAYS = 2 UNKNOWN_RHN_ID = 'unknown' CLICKHOUSE_WMT_ENDPOINT = 'https://stat-api.cloudlinux.com/api/clos-wsmt' PING_TIMEOUT_STATUS_CODE = 408 # userland project SENTRY_DNS = 'https://9e8970e72aa44adb892b3f651e2f0860@cl.sentry.cloudlinux.com/33' WMT_SCANNER_SERVICE = 'cl_wmt_scanner' WMT_SCANNER_SERVICE_SOLO = 'cl_wmt_scanner_solo' WMT_SCANNER_SERVICE_SOLO_FILE = f'{WMT_SCANNER_SERVICE_SOLO}.service' WMT_TEMPLATES_DIR = '/usr/share/web-monitoring-tool/templates' ERROR_DOMAINS_PING_RETRY_INTERVAL = 300 # 5min ERROR_DOMAINS_ALERT_INTERVAL = 6 # hours PING_CONNECTIONS = 10 # concurrent requests SERVICE_BIN: str = '/sbin/service' CHKCONFIG_BIN: str = '/sbin/chkconfig' SYSTEMCTL_BIN: str = '/usr/bin/systemctl'
| ver. 1.4 |
Github
|
.
| PHP 8.1.31 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка