From 6830703ec60f37acac0f71879a0da0caca20d7a3 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 18 Feb 2016 15:35:02 +0100 Subject: [PATCH] artiq_master: directly log, explicit imports --- artiq/frontend/artiq_master.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_master.py b/artiq/frontend/artiq_master.py index 918db3a88..1d8c55cc0 100755 --- a/artiq/frontend/artiq_master.py +++ b/artiq/frontend/artiq_master.py @@ -6,7 +6,8 @@ import atexit import os import logging -from artiq.tools import * +from artiq.tools import (simple_network_args, atexit_register_coroutine, + bind_address_from_args) from artiq.protocols.pc_rpc import Server as RPCServer from artiq.protocols.sync_struct import Publisher from artiq.protocols.logging import Server as LoggingServer @@ -115,7 +116,7 @@ def main(): bind, args.port_logging)) atexit_register_coroutine(server_logging.stop) - loop.call_soon(logger.info, "running, bound to %s", bind) + logger.info("running, bound to %s", bind) loop.run_forever() if __name__ == "__main__":