Exemplo n.º 1
0
def sw_version():
    global VERSION
    if VERSION is None:
        version = osc.get_app_version()
        VERSION = version['fullname']
    return VERSION
Exemplo n.º 2
0
def sw_version_is_stable():
    version = osc.get_app_version()
    return version['stable']
Exemplo n.º 3
0
def sw_buildtime():
    global BUILDTIME
    if BUILDTIME is None:
        version = osc.get_app_version()
        BUILDTIME = version['buildtime']
    return BUILDTIME