Changeset 7aef7ee in mainline
- Timestamp:
- 2009-02-20T15:52:07Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dc22844
- Parents:
- 70554dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config.py
r70554dd r7aef7ee 104 104 else: 105 105 varval = defaults[condname] 106 if (varval == '*'): 107 varval = 'y' 106 108 107 109 if (ctype == 'cnf'): … … 250 252 else: 251 253 default = defaults[varname] 254 if (default == '*'): 255 default = 'y' 252 256 253 257 outmk.write('# %s\n%s = %s\n\n' % (name, varname, default)) … … 303 307 # Cancel out all defaults which have to be deduced 304 308 for varname, vartype, name, choices, cond in ask_names: 305 if ( vartype == 'y'):309 if ((vartype == 'y') and (defaults.has_key(varname)) and (defaults[varname] == '*')): 306 310 defaults[varname] = None 307 311 … … 336 340 options.append(" %s [%s] --> " % (name, default)) 337 341 elif (vartype == 'y'): 338 defaults[varname] = ' y'342 defaults[varname] = '*' 339 343 continue 340 344 elif (vartype == 'y/n'):
Note:
See TracChangeset
for help on using the changeset viewer.