Exemple #1
0
def get_releases_json(**kwargs):
    return ([{
        'id': r['release_name'],
        'text': r['release_name'].capitalize()
    } for r in vault.get_release_options()], parameters.get_default('release'))
Exemple #2
0
def get_releases_json(**kwargs):
    return ([{'id': r['release_name'], 'text': r['release_name'].capitalize()}
            for r in vault.get_release_options()],
            parameters.get_default('release'))