Changeset 1b20da0 in mainline for tools/config.py


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    rdf6ded8 r1b20da0  
    270270# @param rules  Rules
    271271# @param start_index With which rule to start (initial call must specify 0 here).
    272 # @return True if able to find a valid configuration 
     272# @return True if able to find a valid configuration
    273273def random_choices(config, rules, start_index):
    274274        "Fill the configuration with random (but valid) values."
     
    278278        varname, vartype, name, choices, cond = rules[start_index]
    279279
    280         # First check that this rule would make sense   
     280        # First check that this rule would make sense
    281281        if cond:
    282282                if not check_condition(cond, config, rules):
     
    654654                create_output(MAKEFILE, MACROS, config, rules)
    655655               
    656                 return 0       
     656                return 0
    657657       
    658658        screen = xtui.screen_init()
Note: See TracChangeset for help on using the changeset viewer.