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