'Append an "Edit" choice and an "edit Candidates" choice (if
there are candidates) to the interactive importer prompt.'

def before_choose_candidate_listener(self, session, task):

    choices = [PromptChoice('d', 'eDit', self.importer_edit)]
    if task.candidates:
        choices.append(PromptChoice('c', 'edit    Candidates', self.importer_edit_candidate))
    return choices
