Exemple #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
Exemple #2
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('asciipic')
    return version.release_string()
Exemple #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()
Exemple #4
0
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('cloudbase-init')
    return version.release_string()
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('cloudbase-init')
    return version.release_string()
def get_version():
    """Obtain the project version."""
    version = pbr.version.VersionInfo('argus')
    return version.release_string()