@bottle.route(url_base + '/datacenters', method='POST')
def http_post_datacenters():
    '''insert a tenant into the catalogue. '''
    #parse input data
    http_content,_ = format_in( datacenter_schema )
    r = af.remove_extra_items(http_content, datacenter_schema)
    if r is not None: print "http_post_tenants: Warning: remove extra items ", r
    result, data = nfvo.new_datacenter(mydb, http_content['datacenter'])
    if result < 0:
        print (-result, data) % "http_post_datacenters error %d %s"
        bottle.abort(-result, data)
    else:
        return http_get_datacenter_id('any', data)
dataset/ETHPy150Open nfvlabs/openmano/openmano/httpserver.py/http_post_datacenters/swapped operands of `%`