def getGateway(server):
    p = Popen(['ip', 'route', 'get', server],
              stdout=PIPE,
              stderr=None,
              stdin=None,
              )
    p.wait()
    if p.returncode is not 0:
        raise RuntimeError('Could not get route to server')
    stdout = p.stdout.read()
    return stdout.split()[2]
dataset/ETHPy150Open facebook/augmented-traffic-control/tests/local-test.py/getGateway/operator `!=` -> `is not`