Changeset 3b3e776 in mainline for tools/xtui.py
- Timestamp:
- 2010-02-05T10:57:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0358da0
- Parents:
- 3f085132 (diff), b4cbef1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/xtui.py
r3f085132 r3b3e776 213 213 sys.stdout.write("Selection[%s]: " % str(position + 1)) 214 214 else: 215 sys.stdout.write("Selection: ") 215 if (cnt > 0): 216 sys.stdout.write("Selection[1]: ") 217 else: 218 sys.stdout.write("Selection[0]: ") 216 219 inp = sys.stdin.readline() 217 220 … … 222 225 if (position != None): 223 226 return (None, position) 224 continue 227 else: 228 if (cnt > 0): 229 inp = '1' 230 else: 231 inp = '0' 225 232 226 233 if (inp.strip() == 'q'):
Note:
See TracChangeset
for help on using the changeset viewer.