@bottle.route(url_base + '/<tenant_id>/vnfs/<vnf_id>', method='GET')
def http_get_vnf_id(tenant_id,vnf_id):
    '''get vnf details, can use both uuid or name'''
    result, data = nfvo.get_vnf_id(mydb,tenant_id,vnf_id)
    if result < 0:
        print (-result, data) % "http_post_vnfs error %d %s"
        bottle.abort(-result, data)

    af.convert_str2boolean(data, ('public',))
    convert_datetime2str(data)
    return format_out(data)
dataset/ETHPy150Open nfvlabs/openmano/openmano/httpserver.py/http_get_vnf_id/swapped operands of `%`