def _save_editor(caller, buffer):
 key = caller.db._multidesc_editkey
 _update_store(caller, key, buffer)
 caller.msg(("Saved description to key '%s'." % key))
 return True

def _save_editor ( caller , buffer ) : key = caller . db . _multidesc_editkey _update_store ( caller , key , buffer ) caller . msg ( ( "Saved description to key '%s'." % key ) ) return True
called when the editor saves its contents .