def METHOD_NAME(editors_demoid, ddl):
    '''
    Write a DDL
    '''
    try:
        resp = post('save_ddl', params={"demoid": editors_demoid}, json = ddl)
        response = resp.json()
        if response['status'] != 'OK':
            print "ERROR: save_ddl returned KO for demo {}".format(editors_demoid)
    except Exception as ex:
        print "ERROR: Could not write DDL for demo {} - {}".format(editors_demoid, ex)