def dispatch(self, request, *args, **kwargs):
        try:
            Importer = settings.CONTACTS_IMPORT_IMPORTERS[kwargs["service"]]()
        except __HOLE__:
            raise Http404()
        self.importer = Importer()
        return super(ImportServiceView, self).dispatch(request, *args, **kwargs)
dataset/ETHPy150Open eldarion/django-contacts-import/contacts_import/views.py/ImportServiceView.dispatch