Skip to content

Commit 33cb2e2

Browse files
Fix import
1 parent 745fce4 commit 33cb2e2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

cmapi/cmapi_server/__main__.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import logging
88
import os
9+
import sys
910
import threading
1011
import time
1112
from datetime import datetime
@@ -19,20 +20,20 @@
1920
from tracing.sentry import maybe_init_sentry
2021
from tracing.traceparent_backend import TraceparentBackend
2122
from tracing.tracer import get_tracer
22-
config_cmapi_server_logging()
23-
from tracing.trace_tool import register_tracing_tools
2423

24+
config_cmapi_server_logging()
2525
from cmapi_server import helpers
26-
from cmapi_server.constants import DEFAULT_MCS_CONF_PATH, CMAPI_CONF_PATH
27-
from cmapi_server.controllers.dispatcher import dispatcher, jsonify_error, jsonify_404
26+
from cmapi_server.constants import CMAPI_CONF_PATH, DEFAULT_MCS_CONF_PATH
27+
from cmapi_server.controllers.dispatcher import dispatcher, jsonify_404, jsonify_error
2828
from cmapi_server.failover_agent import FailoverAgent
29+
from cmapi_server.invariant_checks import run_invariant_checks
2930
from cmapi_server.managers.application import AppManager
30-
from cmapi_server.managers.process import MCSProcessManager
3131
from cmapi_server.managers.certificate import CertificateManager
32-
from cmapi_server.invariant_checks import run_invariant_checks
32+
from cmapi_server.managers.process import MCSProcessManager
3333
from failover.node_monitor import NodeMonitor
3434
from mcs_node_control.models.dbrm_socket import SOCK_TIMEOUT, DBRMSocketHandler
3535
from mcs_node_control.models.node_config import NodeConfig
36+
from tracing.trace_tool import register_tracing_tools
3637

3738

3839
def worker(app):

0 commit comments

Comments
 (0)