django_importer/importers/base.py
def save_error(self, data, exception_info):
        """
        Saves an error in the error list. 
        """
        # TODO: what to do with errors? Let it flow? Write to a log file?
        self.errors.append({'data': data,
                            'exception': ''.join(format_exception(*exception_info)),
                            })
def save_error(self, data, exception_info):
        # TODO: what to do with errors? Let it flow? Write to a log file?
        self.errors.append({'data': data,
                            'exception': ''.join(format_exception(*exception_info)),
                            })
def save_error ( self , data , exception_info ) : # TODO: what to do with errors? Let it flow? Write to a log file? self . errors . append ( { 'data' : data , 'exception' : '' . join ( format_exception ( * exception_info ) ) , } )
Saves an error in the error list.
Saves an error in the error list .