def get(name='default', tool=None):
    'Load a profile by name. If tool is specified, the specs are\n    searched to the tool and if found, the specs are applied.\n    '
    s = name.split(' ')
    p = Profile()
    for ss in s:
        tup = ss.split('=')
        if (len(tup) == 1):
            l = Profile(profile=tup[0])
            p.update(l)
        else:
            spec = p.specs.get(tup[0], Profile())
            spec.update(Profile(profile=tup[1]))
            p.specs[tup[0]] = spec
    return p
Load a profile by name. If tool is specified, the specs are
searched to the tool and if found, the specs are applied.
def get(name='default', tool=None):
    'Load a profile by name. If tool is specified, the specs are\n    searched to the tool and if found, the specs are applied.\n    '
    s = name.split(' ')
    p = Profile()
    for ss in s:
        tup = ss.split('=')
        if (len(tup) == 1):
            l = Profile(profile=tup[0])
            p.update(l)
        else:
            spec = p.specs.get(tup[0], Profile())
            spec.update(Profile(profile=tup[1]))
            p.specs[tup[0]] = spec
    return p