diff --git a/src/aiida/manage/configuration/profile.py b/src/aiida/manage/configuration/profile.py index 0e7dc57c94..f70d5c49b3 100644 --- a/src/aiida/manage/configuration/profile.py +++ b/src/aiida/manage/configuration/profile.py @@ -19,6 +19,7 @@ from aiida.common import exceptions from .options import parse_option + # from .settings import DAEMON_DIR, DAEMON_LOG_DIR if TYPE_CHECKING: @@ -232,25 +233,25 @@ def repository_path(self) -> pathlib.Path: @property def circus_log_file(self) -> pathlib.Path: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_LOG_DIR return DAEMON_LOG_DIR / f'circus_{self.name}.log' @property def circus_pid_file(self) -> pathlib.Path: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_DIR return DAEMON_DIR / f'circus_{self.name}.pid' @property def circus_port_file(self) -> pathlib.Path: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_DIR return DAEMON_DIR / f'circus-{self.name}.port' @property def circus_socket_endpoints(self) -> dict[str, pathlib.Path]: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_DIR return { 'file': DAEMON_DIR / f'circus-{self.name}.sockets', @@ -261,13 +262,13 @@ def circus_socket_endpoints(self) -> dict[str, pathlib.Path]: @property def daemon_log_file(self) -> pathlib.Path: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_LOG_DIR return DAEMON_LOG_DIR / f'aiida-{self.name}.log' @property def daemon_pid_file(self) -> pathlib.Path: - from .settings import DAEMON_DIR, DAEMON_LOG_DIR + from .settings import DAEMON_DIR return DAEMON_DIR / f'aiida-{self.name}.pid'