コード例 #1
0
ファイル: server_core.py プロジェクト: TianyouLi/Xpra
def get_server_info():
    #this function is for non UI thread info
    info = {
        "platform": get_platform_info(),
        "build": get_version_info_full(),
    }
    info.update(get_host_info())
    return info
コード例 #2
0
ファイル: server_core.py プロジェクト: ljmljz/xpra
def get_server_info():
    #this function is for non UI thread info
    info = {
            "platform"  : get_platform_info(),
            "build"     : get_version_info_full(),
            }
    info.update(get_host_info())
    return info
コード例 #3
0
ファイル: server_core.py プロジェクト: svn2github/Xpra
def get_server_info():
    #this function is for non UI thread info
    info = {}
    info.update(get_host_info())
    def up(prefix, d):
        updict(info, prefix, d)
    up("platform",  get_platform_info())
    up("build",     get_version_info_full())
    return info
コード例 #4
0
ファイル: server_core.py プロジェクト: rudresh2319/Xpra
def get_server_info():
    #this function is for non UI thread info
    info = {}
    info.update(get_host_info())

    def up(prefix, d):
        updict(info, prefix, d)

    up("platform", get_platform_info())
    up("build", get_version_info_full())
    return info
コード例 #5
0
ファイル: ui_client_base.py プロジェクト: rudresh2319/Xpra
 def get_version_info(self):
     return get_version_info_full()
コード例 #6
0
 def get_version_info(self) -> dict:
     return get_version_info_full()