nappy/utils/parse_config.py
def makeLocalAttributesConfigDict(laf):
    """
    Parses local attributes config file and returns dictionary.
    """
    lad = {}
    conf = MyCasePreservingConfigParser()
    conf.read(laf)

    # Load up dict
    for sect in ("nc_attributes", "na_attributes"):
        lad[sect] = {}
        for item in conf.options(sect):
            value = conf.get(sect, item)
            lad[sect][item] = value

    return lad

    Parses local attributes config file and returns dictionary.
    
Parses local attributes config file and returns dictionary.
Parses local attributes config file and returns dictionary .
def makeLocalAttributesConfigDict(laf):
    lad = {}
    conf = MyCasePreservingConfigParser()
    conf.read(laf)
    for sect in ("nc_attributes", "na_attributes"):
        lad[sect] = {}
        for item in conf.options(sect):
            value = conf.get(sect, item)
            lad[sect][item] = value
    return lad
def makeLocalAttributesConfigDict ( laf ) : lad = { } conf = MyCasePreservingConfigParser ( ) conf . read ( laf ) for sect in ( "nc_attributes" , "na_attributes" ) : lad [ sect ] = { } for item in conf . options ( sect ) : value = conf . get ( sect , item ) lad [ sect ] [ item ] = value return lad
Parses local attributes config file and returns dictionary.
Parses local attributes config file and returns dictionary .
"""
    Parses local attributes config file and returns dictionary.
    """ # Load up dict

laf