def show ( config ) : with open ( config , 'r' ) : main . show ( yaml . load ( open ( config ) ) )
how to use to parse a yaml script in python
Show revision list
def show(config):
    """Show revision list"""
    with open(config, 'r'):
        main.show(yaml.load(open(config)))