Changeset c79d50d in mainline
- Timestamp:
- 2009-03-08T12:15:33Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4d29d01
- Parents:
- 71385d4f
- Location:
- tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config.py
r71385d4f rc79d50d 338 338 continue 339 339 340 options.append(" %s [%s] --> " % (name, default)) 340 if (default == None): 341 options.append("? %s --> " % name) 342 else: 343 options.append(" %s [%s] --> " % (name, default)) 341 344 elif (vartype == 'y'): 342 345 defaults[varname] = '*' … … 346 349 default = 'y' 347 350 defaults[varname] = default 348 options.append(" <%s> %s " % (yes_no(default), name))351 options.append(" <%s> %s " % (yes_no(default), name)) 349 352 elif (vartype == 'n/y'): 350 353 if (default == None): 351 354 default = 'n' 352 355 defaults[varname] = default 353 options.append(" <%s> %s " % (yes_no(default), name))356 options.append(" <%s> %s " % (yes_no(default), name)) 354 357 else: 355 358 raise RuntimeError("Unknown variable type: %s" % vartype) … … 378 381 break 379 382 else: 380 xtui.error_dialog(screen, 'Error', 'Some options have still undefined values. ')383 xtui.error_dialog(screen, 'Error', 'Some options have still undefined values. These options are marked with the "?" sign.') 381 384 continue 382 385 -
tools/xtui.py
r71385d4f rc79d50d 257 257 elif (dialog): 258 258 call_dlg(dlgcmd, '--title', title, '--msgbox', msg, '6', str(width + width_extra)) 259 260 sys.stdout.write("\n%s: %s\n" % (title, msg))259 else: 260 sys.stdout.write("\n%s: %s\n" % (title, msg))
Note:
See TracChangeset
for help on using the changeset viewer.