From 80172f954832e3f4b2d0dc0364e9b57c45f5df86 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 18 Dec 2015 00:18:39 +0800 Subject: [PATCH] frontend/coretool: minor cleanup --- artiq/frontend/artiq_coretool.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/artiq/frontend/artiq_coretool.py b/artiq/frontend/artiq_coretool.py index 735eea86c..a668c3343 100755 --- a/artiq/frontend/artiq_coretool.py +++ b/artiq/frontend/artiq_coretool.py @@ -6,10 +6,6 @@ from artiq.master.databases import DeviceDB from artiq.master.worker_db import DeviceManager -def to_bytes(string): - return bytes(string, encoding="ascii") - - def get_argparser(): parser = argparse.ArgumentParser(description="ARTIQ core device " "remote access tool") @@ -64,7 +60,7 @@ def main(): comm.check_ident() if args.action == "log": - print(comm.get_log(), end='') + print(comm.get_log(), end="") elif args.action == "cfg-read": value = comm.flash_storage_read(args.key) if not value: