From ab206ac154da19c49f595ea83ddfee1e9429ca9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Thu, 11 Apr 2024 16:34:08 +0800 Subject: [PATCH] worker: import host_only from the right place --- artiq/master/worker_impl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index 1f069a50c..bf0bfd587 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -28,10 +28,10 @@ from artiq.master.worker_db import DeviceManager, DatasetManager, DummyDevice from artiq.language.environment import ( is_public_experiment, TraceArgumentManager, ProcessArgumentManager ) -from artiq.language.core import set_watchdog_factory, TerminationRequested +from artiq.language.core import host_only, set_watchdog_factory, TerminationRequested from artiq.language.types import TBool from artiq.compiler import import_cache -from artiq.coredevice.core import CompileError, host_only, _render_diagnostic +from artiq.coredevice.core import CompileError, _render_diagnostic from artiq import __version__ as artiq_version