Skip to content

Commit

Permalink
frontend/coretool: minor cleanup
Browse files Browse the repository at this point in the history
sbourdeauducq committed Dec 17, 2015
1 parent 73794b5 commit 80172f9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions artiq/frontend/artiq_coretool.py
Original file line number Diff line number Diff line change
@@ -6,10 +6,6 @@
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:

0 comments on commit 80172f9

Please sign in to comment.