'Callback for invoking the functionality during an interactive
import session on the *original* item tags.'

def importer_edit(self, session, task):

    for (i, obj) in enumerate(task.items):
        obj.id = (i + 1)
    fields = self._get_fields(album=False, extra=[])
    success = self.edit_objects(task.items, fields)
    for obj in task.items:
        obj.id = None
    if success:
        return action.RETAG
    else:
        for obj in task.items:
            obj.read()
