Ignore:
Timestamp:
12/02/08 23:13:30 (12 years ago)
Author:
astephen
Message:

Tested some of this with working functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/utils/parse_config.py

    r3387 r3406  
    2828    conf.read(cf) 
    2929 
    30     # Get all defaults 
    31     d["DEFAULT"] = {} 
    32     for i in conf.defaults(): 
    33         d["DEFAULT"][i] = conf.get("DEFAULT", i) 
    34  
    35     # and other needed 
     30    # get all sections and content  
    3631    for section in conf.sections(): 
    3732        d[section] = {} 
Note: See TracChangeset for help on using the changeset viewer.