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