@synchronized(CONFIG_LOCK)
def add_to_database(section, keyword, obj):
 global database
 if (section not in database):
  database[section] = {}
 database[section][keyword] = obj

@ synchronized ( CONFIG_LOCK ) def add_to_database ( section , keyword , obj ) : global database if ( section not in database ) : database [ section ] = { } database [ section ] [ keyword ] = obj
add object as secion/keyword to ini database .