Changeset 81c8d54 in mainline


Ignore:
Timestamp:
2009-02-17T21:46:03Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
edd7aa6d
Parents:
30e2bba
Message:

fix a flaw in deduction algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    r30e2bba r81c8d54  
    5555
    5656def check_condition(text, defaults, ask_names):
    57         "Check for condition"
     57        "Check that the condition specified on input line is True (only CNF and DNF is supported)"
    5858       
    5959        ctype = 'cnf'
     
    8484
    8585def check_inside(text, defaults, ctype):
    86         "Check that the condition specified on input line is True (only CNF is supported)"
     86        "Check for condition"
    8787       
    8888        if (ctype == 'cnf'):
     
    300300                selname = None
    301301                while True:
     302                       
     303                        # Cancel out all defaults which have to be deduced
     304                        for varname, vartype, name, choices, cond in ask_names:
     305                                if (vartype == 'y'):
     306                                        defaults[varname] = None
    302307                       
    303308                        options = []
Note: See TracChangeset for help on using the changeset viewer.