Exemplo n.º 1
0
def get_version():
    """Obtain the project version."""
    try:
        version = pbr.version.VersionInfo('asciipic')
        return version.release_string()
    # pylint:disable=broad-except
    except Exception:
        return HARD_VERSION
Exemplo n.º 2
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('asciipic')
    return version.release_string()
Exemplo n.º 3
0
def get_version():
    """Obtain the full project version, including alpha / beta / rc tags"""
    version = pbr.version.VersionInfo('cloudbase-init')
    return version.release_string()
Exemplo n.º 4
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('cloudbase-init')
    return version.release_string()
Exemplo n.º 5
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('cloudbase-init')
    return version.release_string()
Exemplo n.º 6
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('argus')
    return version.release_string()