コード例 #1
0
def update_system_info():
    """Updates system info for bashhub.com"""
    bashhub_setup.update_system_info(BH_SYSTEM_ID)
コード例 #2
0
def update_system_info():
    """Updates system info for Bashhub"""
    result = bashhub_setup.update_system_info()
    # Exit code based on if our update call was successful
    sys.exit(0) if result != None else sys.exit(1)
コード例 #3
0
ファイル: bashhub.py プロジェクト: alechiko/bashhub-client
def update_system_info():
    """Updates system info for Bashhub"""
    result = bashhub_setup.update_system_info()
    # Exit code based on if our update call was successful
    sys.exit(0) if result != None else sys.exit(1)