Changes in tools/xtui.py [b766352:c79d50d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/xtui.py

    rb766352 rc79d50d  
    213213                        sys.stdout.write("Selection[%s]: " % str(position + 1))
    214214                else:
    215                         if (cnt > 0):
    216                                 sys.stdout.write("Selection[1]: ")
    217                         else:
    218                                 sys.stdout.write("Selection[0]: ")
     215                        sys.stdout.write("Selection: ")
    219216                inp = sys.stdin.readline()
    220217               
     
    225222                        if (position != None):
    226223                                return (None, position)
    227                         else:
    228                                 if (cnt > 0):
    229                                         inp = '1'
    230                                 else:
    231                                         inp = '0'
     224                        continue
    232225               
    233226                if (inp.strip() == 'q'):
Note: See TracChangeset for help on using the changeset viewer.