コード例 #1
0
ファイル: net_utils.py プロジェクト: Antique/autotest
def bond():
    try:
        # Here we are importing site net utils only if it exists
        # pylint: disable=E0611
        from autotest.client.net import site_net_utils
        return site_net_utils.bonding()
    except ImportError:
        return bonding()
コード例 #2
0
def bond():
    try:
        # Here we are importing site net utils only if it exists
        # pylint: disable=E0611
        from autotest.client.net import site_net_utils
        return site_net_utils.bonding()
    except ImportError:
        return bonding()
コード例 #3
0
def bond():
    try:
        from autotest.client.net import site_net_utils
        return site_net_utils.bonding()
    except Exception:
        return bonding()