def _format_external_gateway_info(info):
    try:
        return json.dumps(info)
    except (__HOLE__, KeyError):
        return ''
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/network/v2/router.py/_format_external_gateway_info