def _load_editor(caller):
 key = caller.db._multidesc_editkey
 match = [ind for (ind, tup) in enumerate(caller.db.multidesc) if (tup[0] == key)]
 if match:
  return caller.db.multidesc[match[0]][1]
 return ''

def _load_editor ( caller ) : key = caller . db . _multidesc_editkey match = [ ind for ( ind , tup ) in enumerate ( caller . db . multidesc ) if ( tup [ 0 ] == key ) ] if match : return caller . db . multidesc [ match [ 0 ] ] [ 1 ] return ''
called when the editor loads contents .