Changeset 6346efd in mainline
- Timestamp:
- 2009-03-08T16:08:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- db4ce845
- Parents:
- b0b5628
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config.py
rb0b5628 r6346efd 417 417 return 'Configuration canceled' 418 418 419 if (value == 0):420 read_preconfigured(PRECONF, MAKEFILE, screen, defaults)421 position = 1422 continue423 424 position = None425 if (not opt2row.has_key(value)):426 raise RuntimeError("Error selecting value: %s" % value)427 428 (selname, seltype, name, choices) = opt2row[value]429 430 if (not defaults.has_key(selname)):431 default = None432 else:433 default = defaults[selname]434 435 419 if (button == 'done'): 436 420 if (check_choices(defaults, ask_names)): … … 439 423 xtui.error_dialog(screen, 'Error', 'Some options have still undefined values. These options are marked with the "?" sign.') 440 424 continue 425 426 if (value == 0): 427 read_preconfigured(PRECONF, MAKEFILE, screen, defaults) 428 position = 1 429 continue 430 431 position = None 432 if (not opt2row.has_key(value)): 433 raise RuntimeError("Error selecting value: %s" % value) 434 435 (selname, seltype, name, choices) = opt2row[value] 436 437 if (not defaults.has_key(selname)): 438 default = None 439 else: 440 default = defaults[selname] 441 441 442 442 if (seltype == 'choice'):
Note:
See TracChangeset
for help on using the changeset viewer.