def _trap_insert(curs, section, section_id): insert_trap_detail(curs, **section)
def _trap_insert(curs, section, section_id): insert_trap_detail(curs, **section) if section.has_key('ability_types'): _ability_insert(curs, section, section_id)