lda_controller: style

This commit is contained in:
Sebastien Bourdeauducq 2015-02-15 15:00:55 -07:00
parent 17596f4ad8
commit e196ef9c48

View File

@ -9,10 +9,10 @@ from artiq.tools import verbosity_args, simple_network_args, init_logger
def get_argparser():
parser = argparse.ArgumentParser()
parser.add_argument('-d', '--device', default="LDA-102",
parser.add_argument("-d", "--device", default="LDA-102",
choices=["LDA-102", "LDA-602", "sim"])
simple_network_args(parser, 3253)
parser.add_argument('-s', '--serial', default=None,
parser.add_argument("-s", "--serial", default=None,
help="USB serial number of the device")
verbosity_args(parser)
return parser