Revision 9133387e lib/client/gnt_debug.py

b/lib/client/gnt_debug.py
553 553
    " containing a list of serialized opcodes"),
554 554
  'allocator': (
555 555
    TestAllocator, [ArgUnknown(min=1)],
556
    [cli_option("--dir", dest="direction",
557
                default="in", choices=["in", "out"],
556
    [cli_option("--dir", dest="direction", default=constants.IALLOCATOR_DIR_IN,
557
                choices=list(constants.VALID_IALLOCATOR_DIRECTIONS),
558 558
                help="Show allocator input (in) or allocator"
559 559
                " results (out)"),
560 560
     IALLOCATOR_OPT,

Also available in: Unified diff