Changeset 8fe3f832 in mainline


Ignore:
Timestamp:
2010-12-06T12:16:02Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d40ffbb
Parents:
01e7043
Message:

fix interactive configuration which was broken in r736

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    r01e7043 r8fe3f832  
    543543                                default = rule_get_default(rule)
    544544                                if default != None:
    545                                         value = default
    546                                         config[varname] = default
     545                                        if value == None:
     546                                                value = default
     547                                        config[varname] = value
    547548
    548549                                option = rule_get_option(rule, value)
    549550                                if option != None:
    550551                                        options.append(option)
     552                                else:
     553                                        continue
    551554                               
    552555                                opt2row[cnt] = (varname, vartype, name, choices)
Note: See TracChangeset for help on using the changeset viewer.