Exemple #1
0
def ethernet_packet():
    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.ethernet()
    except ImportError:
        return ethernet()
Exemple #2
0
def ethernet_packet():
    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.ethernet()
    except ImportError:
        return ethernet()
Exemple #3
0
def ethernet_packet():
    try:
        from autotest.client.net import site_net_utils
        return site_net_utils.ethernet()
    except Exception:
        return ethernet()